[commit: base] master: Fix error in KQueue caused by changes to FFI import requirements (86a5bae)
Max Bolingbroke
batterseapower at hotmail.com
Sat Oct 22 01:42:33 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/86a5baea74d80adbedcad8102db035f04e55b8e5
>---------------------------------------------------------------
commit 86a5baea74d80adbedcad8102db035f04e55b8e5
Author: Max Bolingbroke <batterseapower at hotmail.com>
Date: Sat Oct 22 00:42:14 2011 +0100
Fix error in KQueue caused by changes to FFI import requirements
>---------------------------------------------------------------
GHC/Event/KQueue.hsc | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/GHC/Event/KQueue.hsc b/GHC/Event/KQueue.hsc
index 19c7adf..5a37248 100644
--- a/GHC/Event/KQueue.hsc
+++ b/GHC/Event/KQueue.hsc
@@ -31,7 +31,7 @@ import Control.Monad (when, unless)
import Data.Bits (Bits(..))
import Data.Word (Word16, Word32)
import Foreign.C.Error (throwErrnoIfMinus1)
-import Foreign.C.Types (CInt, CLong, CTime)
+import Foreign.C.Types
import Foreign.Marshal.Alloc (alloca)
import Foreign.Ptr (Ptr, nullPtr)
import Foreign.Storable (Storable(..))
@@ -49,9 +49,6 @@ import qualified GHC.Event.Array as A
#if defined(HAVE_KEVENT64)
import Data.Int (Int64)
import Data.Word (Word64)
-import Foreign.C.Types (CUInt)
-#else
-import Foreign.C.Types (CIntPtr, CUIntPtr)
#endif
#include <sys/types.h>
More information about the Cvs-libraries
mailing list