]> Dogcows Code - chaz/openbox/commitdiff
put the Python.h header in the .cc
authorDana Jansens <danakj@orodu.net>
Thu, 13 Feb 2003 23:44:47 +0000 (23:44 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 13 Feb 2003 23:44:47 +0000 (23:44 +0000)
src/python.cc
src/python.hh

index 64398e38be5c7298029c568b4133e63e8bc6f91c..2db948c2505417612a71628011b1e1d31b9a5fa0 100644 (file)
@@ -8,6 +8,10 @@
 #include "otk/display.hh"
 #include "otk/util.hh"
 
+extern "C" {
+#include <Python.h>
+}
+
 namespace ob {
 
 static PyObject *obdict = NULL;
index 214586f528e418d8e32019f5e2b16cad934cac31..b6f8ae7cecb64dbdb309bb3fe0c85f8ef0535f3d 100644 (file)
@@ -14,7 +14,6 @@
 
 extern "C" {
 #include <X11/Xlib.h>
-#include <Python.h>
 }
 
 #include <string>
This page took 0.024532 seconds and 4 git commands to generate.