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