summaryrefslogtreecommitdiff
path: root/ext/simplexml/simplexml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/simplexml.c')
-rw-r--r--ext/simplexml/simplexml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 2d0e0c2..3f08e2b 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -23,6 +23,8 @@
#endif
#include "php.h"
+#if HAVE_LIBXML && HAVE_SIMPLEXML
+
#include "php_ini.h"
#include "ext/standard/info.h"
#include "php_simplexml.h"
@@ -1071,6 +1073,8 @@ PHP_MINFO_FUNCTION(simplexml)
}
/* }}} */
+#endif
+
/**
* Local Variables:
* c-basic-offset: 4