put the Python.h header in the .cc
This commit is contained in:
parent
54e85b2599
commit
238355f190
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <Python.h>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
Loading…
Reference in a new issue