summaryrefslogtreecommitdiff
path: root/ext/shmop/php_shmop.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shmop/php_shmop.h')
-rw-r--r--ext/shmop/php_shmop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/shmop/php_shmop.h b/ext/shmop/php_shmop.h
index 8cb5144001..805f3a380c 100644
--- a/ext/shmop/php_shmop.h
+++ b/ext/shmop/php_shmop.h
@@ -24,6 +24,9 @@
extern zend_module_entry shmop_module_entry;
#define phpext_shmop_ptr &shmop_module_entry
+#include "php_version.h"
+#define PHP_SHMOP_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(shmop);
PHP_MINFO_FUNCTION(shmop);