summaryrefslogtreecommitdiff
path: root/xml.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-09-26 05:40:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:18 -0400
commitb462a8bf5076ea7376acdc8f7e12054c7f70bdb9 (patch)
treee65bd9c999f3e6f00e138fb3bda87e41a5b44a06 /xml.cc
parent1d49b9451226ec2d2a52c247421dd9d3f9aa582c (diff)
downloadfork-ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.tar.gz
fork-ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.tar.bz2
fork-ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.zip
*** empty log message ***
Diffstat (limited to 'xml.cc')
-rw-r--r--xml.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/xml.cc b/xml.cc
index 0b51469a..63043fbe 100644
--- a/xml.cc
+++ b/xml.cc
@@ -8,7 +8,13 @@
#include <cstring>
extern "C" {
-#include <xmlparse.h> // expat XML parser
+#if defined(HAVE_EXPAT)
+#include <expat.h> // expat XML parser
+#elif defined(HAVE_XMLPARSE)
+#include <xmlparse.h> // expat XML parser
+#else
+#error "No XML parser library defined."
+#endif
}
namespace ledger {