From 90799b6c68eebbd2b36af119436b04e64113c0b6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 4 Dec 2000 09:37:33 +0000 Subject: 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 dfc540238..3130e386d 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" -- cgit v1.2.3-70-g09d2