]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include stdlib.h unconditionally,
authorJim Meyering <jim@meyering.net>
Tue, 19 Aug 2003 10:07:33 +0000 (10:07 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 19 Aug 2003 10:07:33 +0000 (10:07 +0000)
as we're now assuming that part of hosted C89.

src/system.h

index 1c212d4010af969f6edc2bfa0204e0a6eb19a53e..44ad19e450b4e27c3a55077d5b6976d4d88ab7e2 100644 (file)
@@ -132,11 +132,9 @@ extern int errno;
 
 #include <stdbool.h>
 
-#if HAVE_STDLIB_H
-# define getopt system_getopt
-# include <stdlib.h>
-# undef getopt
-#endif
+#define getopt system_getopt
+#include <stdlib.h>
+#undef getopt
 
 /* The following test is to work around the gross typo in
    systems like Sony NEWS-OS Release 4.0C, whereby EXIT_FAILURE