From: Martin v. Löwis Date: Mon, 7 Oct 2002 18:26:16 +0000 (+0000) Subject: Include wctype.h. X-Git-Tag: v2.3c1~3857 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bab9559d12ede8934bdf86c434a4b76cf1138277;p=python Include wctype.h. --- diff --git a/Objects/stringobject.c b/Objects/stringobject.c index c11a362d25..932ef51a96 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -26,10 +26,11 @@ static PyStringObject *nullstring; static PyObject *interned; -#if defined(HAVE_MBTOWC) && defined(HAVE_WCHAR_H) +#if defined(HAVE_MBTOWC) && defined(HAVE_WCHAR_H) && defined(HAVE_WCTYPE_H) # define PRINT_MULTIBYTE_STRING # include # include +# include # if defined(HAVE_ISWPRINT) # define _isprint iswprint # else