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