[pypy-svn] pypy default: add missing ctype.h to the includes for external tolower and isalnum functions

bivab commits-noreply at bitbucket.org
Wed Jan 26 14:26:33 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: 
Changeset: r41347:36b55b3d327e
Date: 2011-01-26 14:24 +0100
http://bitbucket.org/pypy/pypy/changeset/36b55b3d327e/

Log:	add missing ctype.h to the includes for external tolower and isalnum
	functions

diff --git a/pypy/rlib/rlocale.py b/pypy/rlib/rlocale.py
--- a/pypy/rlib/rlocale.py
+++ b/pypy/rlib/rlocale.py
@@ -22,7 +22,7 @@
         HAVE_LIBINTL = False
 
 class CConfig:
-    includes = ['locale.h', 'limits.h']
+    includes = ['locale.h', 'limits.h', 'ctype.h']
 
     if HAVE_LANGINFO:
         includes += ['langinfo.h']


More information about the Pypy-commit mailing list