summaryrefslogtreecommitdiff
path: root/ext/dom/document.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/document.c')
-rw-r--r--ext/dom/document.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 6e92d10..eea8b03 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -24,6 +24,7 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
typedef struct _idsIterator idsIterator;
@@ -1273,3 +1274,4 @@ PHP_FUNCTION(dom_document_savexml)
}
}
/* }}} end dom_document_savexml */
+#endif