From: Jim Meyering Date: Mon, 4 Dec 2000 09:37:33 +0000 (+0000) Subject: Also include memory.h, stdlib.h, unistd.h if appropriate. X-Git-Tag: CPPI-1_8~11 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=90799b6c68eebbd2b36af119436b04e64113c0b6;p=thirdparty%2Fcoreutils.git Also include memory.h, stdlib.h, unistd.h if appropriate. --- 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"