소스 검색

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