summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/gen
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-10-10 19:34:19 +0000
committerngie <ngie@FreeBSD.org>2014-10-10 19:34:19 +0000
commita9e5625f70e9f41a8bbface0fe26b4d84927695b (patch)
tree7e0581ebb59425c22050d5a3839712821c967b86 /contrib/netbsd-tests/lib/libc/gen
parent5ce4af18cfbb66514344003b6c81710f21c3e3b6 (diff)
downloadFreeBSD-src-a9e5625f70e9f41a8bbface0fe26b4d84927695b.zip
FreeBSD-src-a9e5625f70e9f41a8bbface0fe26b4d84927695b.tar.gz
SIGPWR does not exist on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/gen')
-rw-r--r--contrib/netbsd-tests/lib/libc/gen/t_raise.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/gen/t_raise.c b/contrib/netbsd-tests/lib/libc/gen/t_raise.c
index adc032f..120981f 100644
--- a/contrib/netbsd-tests/lib/libc/gen/t_raise.c
+++ b/contrib/netbsd-tests/lib/libc/gen/t_raise.c
@@ -43,7 +43,11 @@ static int count;
static void handler_err(int);
static void handler_ret(int);
static void handler_stress(int);
+#if defined(__FreeBSD__)
+static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2 };
+#else
static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2, SIGPWR };
+#endif
static void
handler_stress(int signo)
OpenPOWER on IntegriCloud