Update of /cvsroot/libsysio/libsysio/src
In directory sc8-pr-cvs1:/tmp/cvs-serv14416/src
Modified Files:
Tag: RedStorm
getdirentries.c
Log Message:
In order to prototype alloca, we need to check for __GLIBC__. This is not
defined if alloca.h is first. Need something before that. Now have stdlib.h
included prior.
Index: getdirentries.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/src/getdirentries.c,v
retrieving revision 1.1.10.1
retrieving revision 1.1.10.2
diff -u -w -b -B -p -r1.1.10.1 -r1.1.10.2
--- getdirentries.c 12 May 2003 11:48:45 -0000 1.1.10.1
+++ getdirentries.c 19 May 2003 14:05:34 -0000 1.1.10.2
@@ -1,7 +1,6 @@
+#include <stdlib.h>
#ifdef __GLIBC__
#include <alloca.h>
-#else
-#include <stdlib.h>
#endif
#include <string.h>
#include <errno.h>
|