summaryrefslogtreecommitdiff
path: root/ext/pspell/php_pspell.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pspell/php_pspell.h')
-rw-r--r--ext/pspell/php_pspell.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pspell/php_pspell.h b/ext/pspell/php_pspell.h
index 754ebc71ba..1f6e3cfcbf 100644
--- a/ext/pspell/php_pspell.h
+++ b/ext/pspell/php_pspell.h
@@ -23,6 +23,10 @@
#if HAVE_PSPELL
extern zend_module_entry pspell_module_entry;
#define pspell_module_ptr &pspell_module_entry
+
+#include "php_version.h"
+#define PHP_PSPELL_VERSION PHP_VERSION
+
#else
#define pspell_module_ptr NULL
#endif