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