blob: 597d37f19ec42e17f5caca2b341f09103e8e2398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-bb,v 1.1 2006/02/16 18:06:46 wiz Exp $
--- signals/signals.c.orig 2001-10-25 19:02:44.000000000 +0000
+++ signals/signals.c
@@ -539,7 +539,7 @@ SigInit()
void
sigSetAction(int signo, sigRetVal (*handler)(int))
{
-#if defined(SYSV) || defined(CYGWIN)
+#if defined(SYSV) || defined(CYGWIN) || defined(__NetBSD__)
struct sigaction sa;
sa.sa_handler = handler;
|