浏览代码

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

Peter S. Mazinger 19 年之前
父节点
当前提交
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