summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-19 10:07:33 +0000
committerJim Meyering <jim@meyering.net>2003-08-19 10:07:33 +0000
commit6a27043931da0caf4c21d7f8532e467a966b0cea (patch)
treefb568a23e0365ba8704eb5e09df2507510aee44a /src
parent19853d3f0baeeb3cc062cc992380c4cc928bbfe4 (diff)
downloadcoreutils-6a27043931da0caf4c21d7f8532e467a966b0cea.tar.xz
Include stdlib.h unconditionally,
as we're now assuming that part of hosted C89.
Diffstat (limited to 'src')
-rw-r--r--src/system.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/system.h b/src/system.h
index 1c212d401..44ad19e45 100644
--- a/src/system.h
+++ b/src/system.h
@@ -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