Include stdlib.h unconditionally. On some old systems for which

STDC_HEADERS is 0, it was not included, resulting in a warning
about an integer-to-pointer conversion problem with getenv.
This commit is contained in:
Jim Meyering committed 2001-11-27 12:55:16 +00:00
1 parent 0bb8253d33
commit 65d5eb615d
1 file changed
+2 -1
+2 -1
View File
@@ -44,10 +44,11 @@
#if STDC_HEADERS || _LIBC
# include <stddef.h>
# include <stdlib.h>
# include <string.h>
#endif
#include <stdlib.h>
#if HAVE_FCNTL_H || _LIBC
# include <fcntl.h>
#endif