summaryrefslogtreecommitdiff
path: root/lib/same.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/same.c')
-rw-r--r--lib/same.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/same.c b/lib/same.c
index 1cfb69322..dc28c7bda 100644
--- 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"