summaryrefslogtreecommitdiff
path: root/include/libxml/xpath.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/xpath.h')
-rw-r--r--include/libxml/xpath.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libxml/xpath.h b/include/libxml/xpath.h
index 41def0c..8a2e210 100644
--- a/include/libxml/xpath.h
+++ b/include/libxml/xpath.h
@@ -20,6 +20,9 @@
#define __XML_XPATH_H__
#include <libxml/xmlversion.h>
+
+#ifdef LIBXML_XPATH_ENABLED
+
#include <libxml/xmlerror.h>
#include <libxml/tree.h>
#include <libxml/hash.h>
@@ -464,4 +467,6 @@ XMLPUBFUN void XMLCALL
#ifdef __cplusplus
}
#endif
+
+#endif /* LIBXML_XPATH_ENABLED */
#endif /* ! __XML_XPATH_H__ */