summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-08-22 15:04:29 +0000
committerWez Furlong <wez@php.net>2003-08-22 15:04:29 +0000
commit21329c5e0ca7040333daada9afa89712f553dc04 (patch)
tree0d3eda0faf269143a361eec23f45fe976664b273 /ext/dom/php_dom.c
parentc29e30d3afd5670d8793de1dd52982a7f41c1e59 (diff)
downloadphp-git-21329c5e0ca7040333daada9afa89712f553dc04.tar.gz
allow building without libxml2 under win32
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 fd62a925c2..de02f9cfee 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