summaryrefslogtreecommitdiff
path: root/include/libxml/debugXML.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/debugXML.h')
-rw-r--r--include/libxml/debugXML.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/libxml/debugXML.h b/include/libxml/debugXML.h
index 5d4d2ae1..31384690 100644
--- a/include/libxml/debugXML.h
+++ b/include/libxml/debugXML.h
@@ -8,8 +8,11 @@
#ifndef __DEBUG_XML__
#define __DEBUG_XML__
#include <stdio.h>
-#include "tree.h"
-#include "xpath.h"
+#include <libxml/tree.h>
+
+#ifdef LIBXML_DEBUG_ENABLED
+
+#include <libxml/xpath.h>
#ifdef __cplusplus
extern "C" {
@@ -103,4 +106,6 @@ void xmlShell (xmlDocPtr doc,
#ifdef __cplusplus
}
#endif
+
+#endif /* LIBXML_DEBUG_ENABLED */
#endif /* __DEBUG_XML__ */