summaryrefslogtreecommitdiff
path: root/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'xml.h')
-rw-r--r--xml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xml.h b/xml.h
index 17b01bb7..13bf317c 100644
--- a/xml.h
+++ b/xml.h
@@ -6,6 +6,8 @@
namespace ledger {
+#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
+
class xml_parser_t : public parser_t
{
public:
@@ -18,6 +20,8 @@ class xml_parser_t : public parser_t
const std::string * original_file = NULL);
};
+#endif
+
class format_xml_entries : public format_entries
{
bool show_totals;