summaryrefslogtreecommitdiff
path: root/lib/sig2str.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sig2str.h')
-rw-r--r--lib/sig2str.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sig2str.h b/lib/sig2str.h
index f3471702bac..2730774d165 100644
--- a/lib/sig2str.h
+++ b/lib/sig2str.h
@@ -44,6 +44,8 @@ int str2sig (char const *, int *);
#if defined _sys_nsig
# define SIGNUM_BOUND (_sys_nsig - 1)
+#elif defined _SIG_MAXSIG
+# define SIGNUM_BOUND (_SIG_MAXSIG - 2) /* FreeBSD >= 7. */
#elif defined NSIG
# define SIGNUM_BOUND (NSIG - 1)
#else