From: Ulrich Drepper Date: Tue, 19 May 1998 07:09:32 +0000 (+0000) Subject: automatically generated from GPLed version X-Git-Tag: 3.77~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4950159344aca6bf56176bfbcb9889c10ce5f9a0;p=thirdparty%2Fmake.git automatically generated from GPLed version --- diff --git a/getopt.c b/getopt.c index 395d597b..03effcbd 100644 --- a/getopt.c +++ b/getopt.c @@ -201,15 +201,18 @@ static char *posixly_correct; # define my_index strchr #else +# if HAVE_STRING_H +# include +# else +# include +# endif + /* Avoid depending on library functions or files whose names are inconsistent. */ #ifndef getenv extern char *getenv (); #endif -#ifndef strncmp -extern int strncmp (); -#endif static char * my_index (str, chr)