Browse Source

Use bits/getopt.h, getopt.h is not included if GNU_GETOPT support is disabled

Peter S. Mazinger 19 years ago
parent
commit
e050c1a78a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/unistd.h

+ 1 - 1
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