summaryrefslogtreecommitdiff
path: root/ext/recode/php_recode.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/recode/php_recode.h')
-rw-r--r--ext/recode/php_recode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/recode/php_recode.h b/ext/recode/php_recode.h
index 69931b5718..83c021f701 100644
--- a/ext/recode/php_recode.h
+++ b/ext/recode/php_recode.h
@@ -26,6 +26,9 @@
extern zend_module_entry recode_module_entry;
#define phpext_recode_ptr &recode_module_entry
+#include "php_version.h"
+#define PHP_RECODE_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(recode);
PHP_MSHUTDOWN_FUNCTION(recode);
PHP_MINFO_FUNCTION(recode);