1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-22 04:43:33 +02:00

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
2001-11-27 12:55:16 +00:00
parent 0bb8253d33
commit 65d5eb615d

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