From: Jim Meyering Date: Wed, 1 Mar 2000 13:21:23 +0000 (+0000) Subject: Guard some #includes with `#if HAVE_...'. X-Git-Tag: TEXTUTILS-2_0e~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=578156186de2da21b4a48a652c2d17a3d23dfc32;p=thirdparty%2Fcoreutils.git 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