[pypy-svn] r74563 - pypy/trunk/pypy/module/cpyext/include

afa at codespeak.net afa at codespeak.net
Wed May 19 09:51:22 CEST 2010


Author: afa
Date: Wed May 19 09:51:21 2010
New Revision: 74563

Modified:
   pypy/trunk/pypy/module/cpyext/include/Python.h
Log:
This belongs to the previous commit: stdlib.h is now needed before function declarations


Modified: pypy/trunk/pypy/module/cpyext/include/Python.h
==============================================================================
--- pypy/trunk/pypy/module/cpyext/include/Python.h	(original)
+++ pypy/trunk/pypy/module/cpyext/include/Python.h	Wed May 19 09:51:21 2010
@@ -66,7 +66,7 @@
 #   error "Python needs a typedef for Py_uintptr_t in pyport.h."
 #endif /* HAVE_UINTPTR_T */
 
-
+#include <stdlib.h>
 
 /* Convert a possibly signed character to a nonnegative int */
 /* XXX This assumes characters are 8 bits wide */
@@ -98,7 +98,6 @@
 #include <assert.h>
 #include <locale.h>
 #include <ctype.h>
-#include <stdlib.h>
 
 #include "pyconfig.h"
 



More information about the Pypy-commit mailing list