summaryrefslogtreecommitdiff
path: root/src/ofx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ofx.cc')
-rw-r--r--src/ofx.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ofx.cc b/src/ofx.cc
index 4a54eaad..2e4a9d5d 100644
--- a/src/ofx.cc
+++ b/src/ofx.cc
@@ -34,6 +34,8 @@
#include "account.h"
#include "session.h"
+#if defined(HAVE_LIBOFX)
+
#include <libofx.h>
namespace ledger {
@@ -261,3 +263,5 @@ std::size_t ofx_parser_t::parse(std::istream& in,
}
} // namespace ledger
+
+#endif HAVE_LIBOFX