summaryrefslogtreecommitdiff
path: root/ext/dom/notation.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/notation.c')
-rw-r--r--ext/dom/notation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dom/notation.c b/ext/dom/notation.c
index 754eb83..93dc3d5 100644
--- a/ext/dom/notation.c
+++ b/ext/dom/notation.c
@@ -24,6 +24,7 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
@@ -86,4 +87,4 @@ int dom_notation_system_id_read(dom_object *obj, zval **retval TSRMLS_DC)
/* }}} */
-
+#endif