diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/pyinterp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/pyinterp.h b/python/pyinterp.h index df0e00dd..de910223 100644 --- a/python/pyinterp.h +++ b/python/pyinterp.h @@ -35,6 +35,8 @@ #include "scope.h" #include "session.h" +#if defined(HAVE_BOOST_PYTHON) + #include <boost/python.hpp> #include <Python.h> @@ -126,4 +128,6 @@ public: } // namespace ledger +#endif // HAVE_BOOST_PYTHON + #endif // _PYINTERP_H |