OSDN Git Service

Use bits/getopt.h, getopt.h is not included if GNU_GETOPT support is disabled
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 4 Nov 2005 11:31:20 +0000 (11:31 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Fri, 4 Nov 2005 11:31:20 +0000 (11:31 -0000)
include/unistd.h

index bb5cfd4..1ca9231 100644 (file)
@@ -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