summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-04 11:31:20 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-04 11:31:20 +0000
commite050c1a78ae6d5edb1c0f6d23c72687dd1513a60 (patch)
tree319938d9a3085f928e3637d85d77dda6a54610ad
parent8c7a3d7c75ac6c07368d57283f7dcb2cac3bcd27 (diff)
Use bits/getopt.h, getopt.h is not included if GNU_GETOPT support is disabled
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
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