diff options
| author | Ulrich Drepper | 1998-05-19 07:09:32 +0000 |
|---|---|---|
| committer | Ulrich Drepper | 1998-05-19 07:09:32 +0000 |
| commit | 152b9de41cd068d6db5d413ebf885258cf5f3c44 (patch) | |
| tree | f05a9a937213630527698f290b68bd1ab347e3e2 /lib-src/getopt.c | |
| parent | a4e7db383d31bfbc06397d42283bef527cfdf671 (diff) | |
| download | emacs-152b9de41cd068d6db5d413ebf885258cf5f3c44.tar.gz emacs-152b9de41cd068d6db5d413ebf885258cf5f3c44.zip | |
automatically generated from GPLed version
Diffstat (limited to 'lib-src/getopt.c')
| -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; | |||
| 201 | # define my_index strchr | 201 | # define my_index strchr |
| 202 | #else | 202 | #else |
| 203 | 203 | ||
| 204 | # if HAVE_STRING_H | ||
| 205 | # include <string.h> | ||
| 206 | # else | ||
| 207 | # include <strings.h> | ||
| 208 | # endif | ||
| 209 | |||
| 204 | /* Avoid depending on library functions or files | 210 | /* Avoid depending on library functions or files |
| 205 | whose names are inconsistent. */ | 211 | whose names are inconsistent. */ |
| 206 | 212 | ||
| 207 | #ifndef getenv | 213 | #ifndef getenv |
| 208 | extern char *getenv (); | 214 | extern char *getenv (); |
| 209 | #endif | 215 | #endif |
| 210 | #ifndef strncmp | ||
| 211 | extern int strncmp (); | ||
| 212 | #endif | ||
| 213 | 216 | ||
| 214 | static char * | 217 | static char * |
| 215 | my_index (str, chr) | 218 | my_index (str, chr) |