gcc12/newlib-4.1.0-aligned_alloc.patch

11 lines
290 B
Diff

--- newlib/libc/stdlib/aligned_alloc.c.orig 2021-06-10 12:01:10.692582985 +0200
+++ newlib/libc/stdlib/aligned_alloc.c 2021-06-10 12:01:20.960708060 +0200
@@ -28,6 +28,7 @@
#include <reent.h>
#include <stdlib.h>
+#include <malloc.h>
void *
aligned_alloc (size_t align, size_t size)