aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Signals.hsc
diff options
context:
space:
mode:
authorGravatar Ian Lynagh <igloo@earth.li>2011-11-25 01:17:02 +0000
committerGravatar Ian Lynagh <igloo@earth.li>2011-11-25 01:17:02 +0000
commitc849742c76d77a8910aff0f48db684b31bbd5382 (patch)
treec0b056794c449f22cb8c88989f9a1005647e1d58 /System/Posix/Signals.hsc
parentc8fada0d863085b8ac10f4d1f578e6428215ac28 (diff)
Fixes for NetBSD
Based on a patch from Arnaud Degroote <degroote@NetBSD.org> in trac #5480.
Diffstat (limited to 'System/Posix/Signals.hsc')
-rw-r--r--System/Posix/Signals.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc
index a284d48..e56a425 100644
--- a/System/Posix/Signals.hsc
+++ b/System/Posix/Signals.hsc
@@ -299,7 +299,7 @@ foreign import ccall unsafe "killpg"
raiseSignal :: Signal -> IO ()
raiseSignal sig = throwErrnoIfMinus1_ "raiseSignal" (c_raise sig)
-#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS))
+#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)) || defined(netbsd_HOST_OS)
foreign import ccall unsafe "genericRaise"
c_raise :: CInt -> IO CInt
#else