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