summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index c8e5614d..a9f3f607 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -31,7 +31,9 @@
#include "utils.h"
#include "option.h"
+#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
#include "gnucash.h"
+#endif
#include "qif.h"
#include "ofx.h"