diff options
Diffstat (limited to 'xml.cc')
-rw-r--r-- | xml.cc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 { |