From 0c8514a9ed67715c484ccb6f185ed6e795a5d2a3 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 22 Oct 1991 09:07:31 +0000 Subject: [PATCH] NSIG is not always defined --- util/int/m_sigtrp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/int/m_sigtrp.c b/util/int/m_sigtrp.c index 3b30707fc..b470b64c6 100644 --- a/util/int/m_sigtrp.c +++ b/util/int/m_sigtrp.c @@ -23,6 +23,9 @@ #define UNIX_trap(sn) (SIGILL <= sn && sn <= SIGSYS) +#ifndef NSIG +#define NSIG _NSIG +#endif PRIVATE int sig_map[NSIG+1]; /* maps signals onto trap numbers */ PRIVATE int HndlIntSig(); /* handle signal to interpreter */