# HG changeset patch
# User Ulrich Drepper <drepper@redhat.com>
# Date 895561772 0
# Node ID 84e894dcafbb95e1254341d7abc22324da0da8c3
# Parent  4f926f1609e628061b4cbb9a9d5dacff1a8e509b
automatically generated from GPLed version

diff -r 4f926f1609e6 -r 84e894dcafbb lib-src/getopt.c
--- 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)