changeset 3022:a2706793b8bf

[!HAVE_DECL_MALLOC]: Declare malloc.
author Jim Meyering <jim@meyering.net>
date Mon, 04 Dec 2000 09:15:49 +0000
parents 12bf77b36dd0
children af79bf99024a
files lib/path-concat.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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