From 1440fbddff4aa7f8414bed5650062eb89a063738 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 4 Dec 2000 09:37:33 +0000 Subject: [PATCH] Also include memory.h, stdlib.h, unistd.h if appropriate. --- lib/path-concat.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/path-concat.c b/lib/path-concat.c index dfc5402381..3130e386df 100644 --- a/lib/path-concat.c +++ b/lib/path-concat.c @@ -26,10 +26,23 @@ #endif #include + #if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif # include +#else +# if HAVE_STRINGS_H +# include +# endif +#endif +#if HAVE_STDLIB_H +# include +#endif +#if HAVE_UNISTD_H +# include #endif -#include #ifndef HAVE_DECL_MALLOC "this configure-time declaration test was not run" -- 2.30.2