aboutsummaryrefslogtreecommitdiffstats
path: root/lib/path-concat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/path-concat.c')
-rw-r--r--lib/path-concat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/path-concat.c b/lib/path-concat.c
index ac2c8b8d5..8c4bbb4e8 100644
--- a/lib/path-concat.c
+++ b/lib/path-concat.c
@@ -32,7 +32,9 @@
#include <sys/types.h>
char *malloc ();
+#ifndef strdup
char *strdup ();
+#endif
#ifndef DIRECTORY_SEPARATOR
# define DIRECTORY_SEPARATOR '/'