summaryrefslogtreecommitdiff
path: root/src/saxparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/saxparser.h')
-rw-r--r--src/saxparser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/saxparser.h b/src/saxparser.h
index 4b1a273..85906f9 100644
--- a/src/saxparser.h
+++ b/src/saxparser.h
@@ -26,9 +26,15 @@
*/
#pragma once
+#include <config.h>
+
#include <string>
#include <unordered_map>
+#ifdef HAVE_LIBEXPAT
#include <expat.h>
+#elif HAVE_LIBBSDXML
+#include <bsdxml.h>
+#endif
#include <fstream>
class SAXParser