From afa5bf6803f3716140291bc9f9c65fcada5862c4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Nov 2005 01:28:16 +0000 Subject: as psm points out, we need to use bits/getopt.h in unistd.h since getopt.h wont exist if user disables the option --- include/getopt.h | 1 - include/unistd.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/getopt.h b/include/getopt.h index 4ea31a683..a682f9ca8 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -1,5 +1,4 @@ /* This file will not be installed if not using gnu getopt. */ -#include #include diff --git a/include/unistd.h b/include/unistd.h index bb5cfd4bd..1ca923130 100644 --- a/include/unistd.h +++ b/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 +# include #endif -- cgit v1.2.3