changeset 22146:84e894dcafbb gcc-2_8_1-980525 gcc-2_8_1-980529 gcc-2_8_1-980608 gcc-2_8_1-980609

automatically generated from GPLed version
author Ulrich Drepper <drepper@redhat.com>
date Tue, 19 May 1998 07:09:32 +0000
parents 4f926f1609e6
children 803bcc3c1a49
files lib-src/getopt.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/getopt.c	Tue May 19 05:45:21 1998 +0000
+++ b/lib-src/getopt.c	Tue May 19 07:09:32 1998 +0000
@@ -201,15 +201,18 @@
 # 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)