summaryrefslogtreecommitdiff
path: root/ext/dom/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/attr.c')
-rw-r--r--ext/dom/attr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/dom/attr.c b/ext/dom/attr.c
index fb6531abd7..6483a41647 100644
--- a/ext/dom/attr.c
+++ b/ext/dom/attr.c
@@ -24,6 +24,9 @@
#endif
#include "php.h"
+
+#if HAVE_LIBXML && HAVE_DOM
+
#include "php_dom.h"
@@ -232,3 +235,5 @@ PHP_FUNCTION(dom_attr_is_id)
}
}
/* }}} end dom_attr_is_id */
+
+#endif