From e13327cbad260943c4e7302fc3ca065343b9d0cc Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 24 Oct 2009 15:28:56 +0200 Subject: [PATCH] fix exec in Py2.3 --- Cython/Compiler/Builtin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index 494057bd..062afb77 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -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 -- 2.26.2