summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcntl/php_signal.h')
-rw-r--r--ext/pcntl/php_signal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pcntl/php_signal.h b/ext/pcntl/php_signal.h
index ed2e769dd7..cd1d547790 100644
--- a/ext/pcntl/php_signal.h
+++ b/ext/pcntl/php_signal.h
@@ -22,6 +22,13 @@
#ifndef PHP_SIGNAL_H
#define PHP_SIGNAL_H
+#ifndef NSIG
+# define NSIG 32
+#endif
+#ifndef SIGRTMAX
+# define SIGRTMAX 64
+#endif
+
typedef void Sigfunc(int);
Sigfunc *php_signal(int signo, Sigfunc *func, int restart);