summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_pcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
-rw-r--r--ext/pcntl/php_pcntl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h
index b9af84b9ee..68f2983a24 100644
--- a/ext/pcntl/php_pcntl.h
+++ b/ext/pcntl/php_pcntl.h
@@ -26,6 +26,9 @@
extern zend_module_entry pcntl_module_entry;
#define phpext_pcntl_ptr &pcntl_module_entry
+#include "php_version.h"
+#define PHP_PCNTL_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(pcntl);
PHP_MSHUTDOWN_FUNCTION(pcntl);
PHP_RINIT_FUNCTION(pcntl);