diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-05-19 07:09:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-05-19 07:09:32 +0000 |
commit | f7ee70117069a957b144be41f88a2be5e23a5a7a (patch) | |
tree | 0b5bd2f69ee46b8f25a47a866bd50333bcde6c05 | |
parent | 5cdc6c8be5fbfa4a4efaccf61ef73c1703a84822 (diff) | |
download | emacs-f7ee70117069a957b144be41f88a2be5e23a5a7a.tar.gz |
automatically generated from GPLed versiongcc-2_8_1-980609gcc-2_8_1-980608gcc-2_8_1-980529gcc-2_8_1-980525
-rw-r--r-- | lib-src/getopt.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <string.h> +# else +# include <strings.h> +# 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) |