Преглед изворни кода

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

Peter S. Mazinger пре 20 година
родитељ
комит
e050c1a78a
1 измењених фајлова са 1 додато и 1 уклоњено
  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