put the Python.h header in the .cc

This commit is contained in:
Dana Jansens 2003-02-13 23:44:47 +00:00
parent 54e85b2599
commit 238355f190
2 changed files with 4 additions and 1 deletions

View file

@ -8,6 +8,10 @@
#include "otk/display.hh" #include "otk/display.hh"
#include "otk/util.hh" #include "otk/util.hh"
extern "C" {
#include <Python.h>
}
namespace ob { namespace ob {
static PyObject *obdict = NULL; static PyObject *obdict = NULL;

View file

@ -14,7 +14,6 @@
extern "C" { extern "C" {
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <Python.h>
} }
#include <string> #include <string>