Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.
authorJim Meyering <jim@meyering.net>
Thu, 29 Jun 2000 11:29:55 +0000 (11:29 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 29 Jun 2000 11:29:55 +0000 (11:29 +0000)
lib/same.c

index 1cfb693..dc28c7b 100644 (file)
 extern int errno;
 #endif
 
+#if HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif
+
 #include "same.h"
 #include "dirname.h"
 #include "error.h"