Browse Source

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

Peter S. Mazinger 20 năm trước cách đây
mục cha
commit
e050c1a78a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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