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