put the Python.h header in the .cc
Dana Jansens danakj@orodu.net
2 files changed,
4 insertions(+),
1 deletions(-)
M
src/python.cc
→
src/python.cc
@@ -8,6 +8,10 @@ #include "bindings.hh"
#include "otk/display.hh" #include "otk/util.hh" +extern "C" { +#include <Python.h> +} + namespace ob { static PyObject *obdict = NULL;
M
src/python.hh
→
src/python.hh
@@ -14,7 +14,6 @@ #include "otk/ustring.hh"
extern "C" { #include <X11/Xlib.h> -#include <Python.h> } #include <string>