1
0
Эх сурвалжийг харах

fix alloca issue in stdlib.h too

I forgot _GNU_SOURCE also has it declared here...
Rich Felker 13 жил өмнө
parent
commit
3be616c1df
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      include/stdlib.h

+ 1 - 1
include/stdlib.h

@@ -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);