summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/path-concat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/path-concat.c b/lib/path-concat.c
index ff3978020..b0c18a8c5 100644
--- a/lib/path-concat.c
+++ b/lib/path-concat.c
@@ -26,6 +26,9 @@
#endif
#include <stdio.h>
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif
#include <sys/types.h>
char *malloc ();