summaryrefslogtreecommitdiff
path: root/ext/sysvmsg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sysvmsg')
-rw-r--r--ext/sysvmsg/php_sysvmsg.h3
-rw-r--r--ext/sysvmsg/sysvmsg.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/sysvmsg/php_sysvmsg.h b/ext/sysvmsg/php_sysvmsg.h
index 6a32734910..8ee9aa97db 100644
--- a/ext/sysvmsg/php_sysvmsg.h
+++ b/ext/sysvmsg/php_sysvmsg.h
@@ -26,6 +26,9 @@
extern zend_module_entry sysvmsg_module_entry;
#define phpext_sysvmsg_ptr &sysvmsg_module_entry
+#include "php_version.h"
+#define PHP_SYSVMSG_VERSION PHP_VERSION
+
#ifndef __USE_GNU
/* we want to use mtype instead of __mtype */
#define __USE_GNU
diff --git a/ext/sysvmsg/sysvmsg.c b/ext/sysvmsg/sysvmsg.c
index 7f4682c92e..80fd7e940f 100644
--- a/ext/sysvmsg/sysvmsg.c
+++ b/ext/sysvmsg/sysvmsg.c
@@ -110,7 +110,7 @@ zend_module_entry sysvmsg_module_entry = {
NULL,
NULL,
PHP_MINFO(sysvmsg),
- NO_VERSION_YET,
+ PHP_SYSVMSG_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */