From 38254f7f04c579aca3f488adbe75f734a7ea015f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 4 Jul 2000 17:31:56 +0000 Subject: [PATCH] Make inclusion of independent of whether HAVE_MBRTOWC is set. Required at least for irix-5.6, which lacks mbrtowc. --- lib/quotearg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2