From: Ulrich Drepper Date: Tue, 19 May 1998 07:09:32 +0000 (+0000) Subject: automatically generated from GPLed version X-Git-Tag: emacs-20.3~931 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=152b9de41cd068d6db5d413ebf885258cf5f3c44;p=emacs.git automatically generated from GPLed version --- diff --git a/lib-src/getopt.c b/lib-src/getopt.c index 395d597bbc0..03effcbdb3e 100644 --- a/lib-src/getopt.c +++ b/lib-src/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)