gcc12/newlib-4.1.0-aligned_alloc.patch
OBS User rguenther 67536f9052 New gcc12 package submission.
Rev devel:gcc/1 Md5 ae463db7c2b11a8484bb26da6735cffb 2022-01-13 12:39:29 rguenther 946019
2022-01-13 12:39:29 +00:00

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)