summaryrefslogtreecommitdiff
path: root/ext/posix/php_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/php_posix.h')
-rw-r--r--ext/posix/php_posix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/posix/php_posix.h b/ext/posix/php_posix.h
index de42574b8d..ced4afe2c6 100644
--- a/ext/posix/php_posix.h
+++ b/ext/posix/php_posix.h
@@ -34,6 +34,9 @@
extern zend_module_entry posix_module_entry;
#define posix_module_ptr &posix_module_entry
+#include "php_version.h"
+#define PHP_POSIX_VERSION PHP_VERSION
+
/* POSIX.1, 3.3 */
PHP_FUNCTION(posix_kill);