On 29/11/2011 21:23, Ian Lynagh wrote:
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc
index 4257688..463dfc7 100644
--- a/System/Posix/Signals.hsc
+++ b/System/Posix/Signals.hsc
@@ -598,7 +598,7 @@ awaitSignal maybe_sigset = do
-- XXX My manpage says it can also return EFAULT. And why is ignoring
-- EINTR the right thing to do?
-foreign import ccall unsafe "sigsuspend"
+foreign import capi unsafe "HsUnix.h sigsuspend"
c_sigsuspend :: Ptr CSigset -> IO CInt
#endif
Just a thought: has {-# INCLUDE #-} come back from the dead now that we
have capi?
Cheers,
Simon
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries