summaryrefslogtreecommitdiff
path: root/ext/dom/comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/comment.c')
-rw-r--r--ext/dom/comment.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dom/comment.c b/ext/dom/comment.c
index 5b36ae89cd..c982e0692e 100644
--- a/ext/dom/comment.c
+++ b/ext/dom/comment.c
@@ -24,6 +24,7 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@@ -70,3 +71,4 @@ PHP_FUNCTION(dom_comment_comment)
}
}
/* }}} end dom_comment_comment */
+#endif