summaryrefslogtreecommitdiff
path: root/ext/simplexml/php_simplexml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r--ext/simplexml/php_simplexml.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h
index 3398232539..1dec6796de 100644
--- a/ext/simplexml/php_simplexml.h
+++ b/ext/simplexml/php_simplexml.h
@@ -24,6 +24,9 @@
extern zend_module_entry simplexml_module_entry;
#define phpext_simplexml_ptr &simplexml_module_entry
+#include "php_version.h"
+#define PHP_SIMPLEXML_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif