summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/signals.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/signals.c')
-rw-r--r--otherlibs/unix/signals.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/unix/signals.c b/otherlibs/unix/signals.c
index 1a075d312..9810d7439 100644
--- a/otherlibs/unix/signals.c
+++ b/otherlibs/unix/signals.c
@@ -21,6 +21,10 @@
#include <signals.h>
#include "unixsupport.h"
+#ifndef NSIG
+#define NSIG 32
+#endif
+
#ifdef POSIX_SIGNALS
static void decode_sigset(value vset, sigset_t * set)