summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-25 16:48:51 +0000
committerJim Meyering <jim@meyering.net>1997-12-25 16:48:51 +0000
commit1a8e1f7bfda355c4506b267257650f3c2e2362d6 (patch)
treea98a627f30f864670f757b80e907cff806e468db /lib
parentc9f538deb9fc4e34d90abb06ff32ecd00191b704 (diff)
downloadcoreutils-1a8e1f7bfda355c4506b267257650f3c2e2362d6.tar.xz
Include <string.h> if available.
Diffstat (limited to 'lib')
-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 ();