summaryrefslogtreecommitdiff
path: root/ext/dom/element.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/element.c')
-rw-r--r--ext/dom/element.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dom/element.c b/ext/dom/element.c
index 4f4ba9d..8e658e1 100644
--- a/ext/dom/element.c
+++ b/ext/dom/element.c
@@ -24,6 +24,7 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@@ -834,3 +835,5 @@ PHP_FUNCTION(dom_element_set_id_attribute_node)
DOM_NOT_IMPLEMENTED();
}
/* }}} end dom_element_set_id_attribute_node */
+
+#endif