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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1440fbddff4aa7f8414bed5650062eb89a063738;p=pspp 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"