summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-10-07 18:26:16 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-10-07 18:26:16 +0000
commitc76c975ddf4dd8375cb3dcabf3f937fce83c4145 (patch)
tree991f09e2f500bd4c67e160af1278f0c410dabb9b /Objects/stringobject.c
parent76b77b000e0b7adbc0a0e4b56f2fee3db5020654 (diff)
downloadcpython-c76c975ddf4dd8375cb3dcabf3f937fce83c4145.tar.gz
Include wctype.h.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c3
1 files changed, 2 insertions, 1 deletions
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 <locale.h>
# include <wchar.h>
+# include <wctype.h>
# if defined(HAVE_ISWPRINT)
# define _isprint iswprint
# else