summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/getopt.h1
-rw-r--r--include/unistd.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/getopt.h b/include/getopt.h
index 4ea31a683..a682f9ca8 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -1,5 +1,4 @@
/* This file will not be installed if not using gnu getopt. */
-#include <features.h>
#include <bits/getopt.h>
diff --git a/include/unistd.h b/include/unistd.h
index bb5cfd4bd..1ca923130 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -782,7 +782,7 @@ extern int setlogin (__const char *__name) __THROW __nonnull ((1));
arguments in ARGV (ARGC of them, minus the program name) for
options given in OPTS. */
# define __need_getopt
-# include <getopt.h>
+# include <bits/getopt.h>
#endif