diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/python.cc | 4 | ||||
| -rw-r--r-- | src/python.hh | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/python.cc b/src/python.cc index 64398e38..2db948c2 100644 --- a/src/python.cc +++ b/src/python.cc @@ -8,6 +8,10 @@ #include "otk/display.hh" #include "otk/util.hh" +extern "C" { +#include <Python.h> +} + namespace ob { static PyObject *obdict = NULL; diff --git a/src/python.hh b/src/python.hh index 214586f5..b6f8ae7c 100644 --- a/src/python.hh +++ b/src/python.hh @@ -14,7 +14,6 @@ extern "C" { #include <X11/Xlib.h> -#include <Python.h> } #include <string> |
