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 9c8a1182b10d8bb6bc767c56787473fa5ee8c4c3..ed512f43bffde79b416ae50b2d6611bbc2eea62c 100644 (file)
@@ -128,7 +128,7 @@ void lcong48 (unsigned short [7]);
 #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);