summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-15 00:58:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-15 00:58:31 +0000
commit20e7f611558cc6237cc1deb8c2a0f42a3960e2a0 (patch)
tree38f6eabbda935d51076e4308b8ca7dcb42b0f2d9 /include
parent0603b41c9359280c75c5dd9ba76d544d88d0e556 (diff)
sync getopt headers with glibc
Diffstat (limited to 'include')
-rw-r--r--include/getopt.h1
-rw-r--r--include/unistd.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/getopt.h b/include/getopt.h
index a682f9ca8..4ea31a683 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -1,4 +1,5 @@
/* 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 1ca923130..bb5cfd4bd 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 <bits/getopt.h>
+# include <getopt.h>
#endif