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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user