From: Jim Meyering Date: Wed, 1 Mar 2000 13:21:23 +0000 (+0000) Subject: Guard some #includes with `#if HAVE_...'. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aecbf69e84c78c3dd989b8d25368a1f2a7e6e0e;p=pspp Guard some #includes with `#if HAVE_...'. --- diff --git a/lib/localcharset.c b/lib/localcharset.c index 0005910b2c..86f43b5889 100644 --- a/lib/localcharset.c +++ b/lib/localcharset.c @@ -23,9 +23,16 @@ # include #endif -#include +#if HAVE_STDDEF_H +# include +#endif + #include -#include +#if HAVE_STRING_H +# include +#else +# include +#endif #if HAVE_STDLIB_H # include #endif