fix alloca issue in stdlib.h too
authorRich Felker <dalias@aerifal.cx>
Mon, 9 Apr 2012 20:22:05 +0000 (16:22 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 9 Apr 2012 20:22:05 +0000 (16:22 -0400)
I forgot _GNU_SOURCE also has it declared here...

include/stdlib.h

index 9c8a118..ed512f4 100644 (file)
@@ -128,7 +128,7 @@ void lcong48 (unsigned short [7]);
 #endif
 
 #if defined(_GNU_SOURCE)
 #endif
 
 #if defined(_GNU_SOURCE)
-void *alloca(size_t);
+#include <alloca.h>
 char *mktemp (char *);
 void *valloc (size_t);
 void *memalign(size_t, size_t);
 char *mktemp (char *);
 void *valloc (size_t);
 void *memalign(size_t, size_t);