diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-04 23:53:43 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-04 23:53:43 -0400 |
commit | c11d32571246e51f401deee88f4ebd752b467fdc (patch) | |
tree | ccfe6c759d1f2f46a501495eeedecc8c679865d7 /src/derive.cc | |
parent | 9a47298d811496816903515bdba7652e275cc32a (diff) | |
download | ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.gz ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.bz2 ledger-c11d32571246e51f401deee88f4ebd752b467fdc.zip |
Reduced the #include dependency tree to a minimum
Diffstat (limited to 'src/derive.cc')
-rw-r--r-- | src/derive.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/derive.cc b/src/derive.cc index b367307d..4c85e1fb 100644 --- a/src/derive.cc +++ b/src/derive.cc @@ -30,6 +30,12 @@ */ #include "derive.h" +#include "xact.h" +#include "post.h" +#include "account.h" +#include "journal.h" +#include "session.h" +#include "report.h" #include "output.h" namespace ledger { @@ -229,7 +235,7 @@ namespace { } xact_t * derive_xact_from_template(xact_template_t& tmpl, - report_t& report) + report_t& report) { if (tmpl.payee_mask.empty()) throw std::runtime_error(_("'xact' command requires at least a payee")); |