summaryrefslogtreecommitdiff
path: root/ext/dom/namednodemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/namednodemap.c')
-rw-r--r--ext/dom/namednodemap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dom/namednodemap.c b/ext/dom/namednodemap.c
index 6963fae..ada109a 100644
--- a/ext/dom/namednodemap.c
+++ b/ext/dom/namednodemap.c
@@ -24,6 +24,7 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@@ -139,3 +140,4 @@ PHP_FUNCTION(dom_namednodemap_remove_named_item_ns)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_namednodemap_remove_named_item_ns */
+#endif