summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/php_dom.c')
-rw-r--r--ext/dom/php_dom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c
index fd62a92..de02f9c 100644
--- a/ext/dom/php_dom.c
+++ b/ext/dom/php_dom.c
@@ -25,13 +25,12 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_DOM
#include "ext/standard/php_rand.h"
#include "php_dom.h"
#include "dom_ce.h"
#include "dom_properties.h"
-#if HAVE_DOM
-
#include "ext/standard/info.h"
#define PHP_XPATH 1
#define PHP_XPTR 2