summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-04 23:53:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-04 23:53:43 -0400
commitc11d32571246e51f401deee88f4ebd752b467fdc (patch)
treeccfe6c759d1f2f46a501495eeedecc8c679865d7 /src/global.cc
parent9a47298d811496816903515bdba7652e275cc32a (diff)
downloadfork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.gz
fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.bz2
fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.zip
Reduced the #include dependency tree to a minimum
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/global.cc b/src/global.cc
index 51760436..7789bb85 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -29,9 +29,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <ledger.h>
-
#include "global.h"
+#if defined(HAVE_BOOST_PYTHON)
+#include "pyinterp.h"
+#endif
+#include "item.h"
+#include "journal.h"
namespace ledger {