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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/path-concat.c b/lib/path-concat.c
index d6dafc939..dfc540238 100644
--- a/lib/path-concat.c
+++ b/lib/path-concat.c
@@ -31,7 +31,13 @@
#endif
#include <sys/types.h>
+#ifndef HAVE_DECL_MALLOC
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_MALLOC
char *malloc ();
+#endif
+
#ifndef strdup
char *strdup ();
#endif