summaryrefslogtreecommitdiff
path: root/src/saxparser.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-05 21:44:42 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-05 22:06:22 +0100
commit15f98dfc9858cd11d616cf1dfdd1a1e50a7a48db (patch)
tree8a92e11fe808e92fc923f5334aff1639f77aa6f8 /src/saxparser.h
parent9ebea3a2c98fa55ede445e8b86cad7cf3312da25 (diff)
Add support for eXpat alternative; bsdxml.
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