summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/python/eval.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/python/eval.hpp')
-rw-r--r--sca-cpp/trunk/modules/python/eval.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/python/eval.hpp b/sca-cpp/trunk/modules/python/eval.hpp
index c085aa42c3..f106ff1659 100644
--- a/sca-cpp/trunk/modules/python/eval.hpp
+++ b/sca-cpp/trunk/modules/python/eval.hpp
@@ -25,7 +25,11 @@
/**
* Python script evaluation logic.
*/
+#if PYTHON_VERSION == 27
+#include <python2.7/Python.h>
+#else
#include <python2.6/Python.h>
+#endif
#include "list.hpp"
#include "value.hpp"