summaryrefslogtreecommitdiff
path: root/ext/dom/domexception.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/domexception.c')
-rw-r--r--ext/dom/domexception.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dom/domexception.c b/ext/dom/domexception.c
index b2a4abf..377a7bc 100644
--- a/ext/dom/domexception.c
+++ b/ext/dom/domexception.c
@@ -24,6 +24,7 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@@ -110,3 +111,4 @@ void php_dom_throw_error(int error_code, zval **retval TSRMLS_DC)
EG(exception) = dom_exception;
}
/* }}} end php_dom_throw_error */
+#endif