summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-13 23:44:47 +0000
committerDana Jansens <danakj@orodu.net>2003-02-13 23:44:47 +0000
commit238355f190d9a147f812605af5506173e788e378 (patch)
tree9e0be266078ef3c37db17d2c501a51b6f3155389 /src
parent54e85b2599e0f8565e8fead1015603828e103b4a (diff)
put the Python.h header in the .cc
Diffstat (limited to 'src')
-rw-r--r--src/python.cc4
-rw-r--r--src/python.hh1
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>