fix exec in Py2.3
authorStefan Behnel <scoder@users.berlios.de>
Sat, 24 Oct 2009 13:28:56 +0000 (15:28 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 24 Oct 2009 13:28:56 +0000 (15:28 +0200)
Cython/Compiler/Builtin.py

index 494057bd484d4dab2b7b0fd19c5f199bdb7733db..062afb770a549c8e47b9f913ec28f69f8c7ce859 100644 (file)
@@ -161,6 +161,9 @@ bad:
 pyexec_utility_code = UtilityCode(
 proto = """
 #if PY_VERSION_HEX < 0x02040000
+#ifndef Py_COMPILE_H
+#include "compile.h"
+#endif
 #ifndef Py_EVAL_H
 #include "eval.h"
 #endif