]> granicus.if.org Git - python/commitdiff
Include wctype.h.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 7 Oct 2002 18:26:16 +0000 (18:26 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 7 Oct 2002 18:26:16 +0000 (18:26 +0000)
Objects/stringobject.c

index c11a362d25133500f96cad84538f37ebf1fdfbfa..932ef51a96eafdd587b5b0d44337534a53ae8fea 100644 (file)
@@ -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