From 238355f190d9a147f812605af5506173e788e378 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 13 Feb 2003 23:44:47 +0000 Subject: [PATCH] put the Python.h header in the .cc --- src/python.cc | 4 ++++ src/python.hh | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 +} + 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 -#include } #include -- 2.45.2