summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r--ext/xml/php_xml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h
index 44815d979c..c8eb3cf6d1 100644
--- a/ext/xml/php_xml.h
+++ b/ext/xml/php_xml.h
@@ -26,6 +26,10 @@
#ifdef HAVE_XML
extern zend_module_entry xml_module_entry;
#define xml_module_ptr &xml_module_entry
+
+#include "php_version.h"
+#define PHP_XML_VERSION PHP_VERSION
+
#else
#define xml_module_ptr NULL
#endif