summaryrefslogtreecommitdiff
path: root/src/python.cc
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/python.cc
parent54e85b2599e0f8565e8fead1015603828e103b4a (diff)
put the Python.h header in the .cc
Diffstat (limited to 'src/python.cc')
-rw-r--r--src/python.cc4
1 files changed, 4 insertions, 0 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;