summaryrefslogtreecommitdiff
path: root/ext/dom/cdatasection.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/cdatasection.c')
-rw-r--r--ext/dom/cdatasection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dom/cdatasection.c b/ext/dom/cdatasection.c
index b0c957f..00a6548 100644
--- a/ext/dom/cdatasection.c
+++ b/ext/dom/cdatasection.c
@@ -24,6 +24,7 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@@ -71,3 +72,5 @@ PHP_FUNCTION(dom_cdatasection_cdatasection)
}
}
/* }}} end dom_cdatasection_cdatasection */
+
+#endif