From 8aecbf69e84c78c3dd989b8d25368a1f2a7e6e0e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 1 Mar 2000 13:21:23 +0000 Subject: [PATCH] Guard some #includes with `#if HAVE_...'. --- lib/localcharset.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 -- 2.30.2