summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-10-07 18:26:16 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-10-07 18:26:16 (GMT)
commitbab9559d12ede8934bdf86c434a4b76cf1138277 (patch)
treea99cc55be33cd195c8595199ea971a20bb300058
parent19ff44643f86919dfa5827035ff746b755906042 (diff)
downloadcpython-bab9559d12ede8934bdf86c434a4b76cf1138277.zip
cpython-bab9559d12ede8934bdf86c434a4b76cf1138277.tar.gz
cpython-bab9559d12ede8934bdf86c434a4b76cf1138277.tar.bz2
Include wctype.h.
-rw-r--r--Objects/stringobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index c11a362..932ef51 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 <locale.h>
# include <wchar.h>
+# include <wctype.h>
# if defined(HAVE_ISWPRINT)
# define _isprint iswprint
# else