changeset 2671:db2d95fa362f

Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.
author Jim Meyering <jim@meyering.net>
date Thu, 29 Jun 2000 11:29:55 +0000
parents 8943b543c7f9
children 3e46865724f5
files lib/same.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/same.c
+++ b/lib/same.c
@@ -36,6 +36,12 @@
 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"