From: Jim Meyering Date: Tue, 4 Jul 2000 17:31:56 +0000 (+0000) Subject: Make inclusion of independent of whether X-Git-Tag: SH-UTILS-2_0j~5 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3b261584452f0e3bca170e504690645b7d1d4fbb;p=thirdparty%2Fcoreutils.git Make inclusion of independent of whether HAVE_MBRTOWC is set. Required at least for irix-5.6, which lacks mbrtowc. --- diff --git a/lib/quotearg.c b/lib/quotearg.c index 902192e701..553a0f0c38 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -58,8 +58,11 @@ # include #endif -#if HAVE_MBRTOWC && HAVE_WCHAR_H +#if HAVE_WCHAR_H # include +#endif + +#if HAVE_MBRTOWC && HAVE_WCHAR_H # if !HAVE_MBSTATE_T_OBJECT # define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0) # endif