[commit: ghc] master: base: Import Data.Int in KQueue (de62f58)

git at git.haskell.org git at git.haskell.org
Thu Mar 9 00:16:27 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/de62f587463f6377df1e69e11504578833dfe653/ghc

>---------------------------------------------------------------

commit de62f587463f6377df1e69e11504578833dfe653
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Mar 8 18:24:03 2017 -0500

    base: Import Data.Int in KQueue
    
    This was broken in the ecb880caea441b6dd7f75a555546e55abe11c233.


>---------------------------------------------------------------

de62f587463f6377df1e69e11504578833dfe653
 libraries/base/GHC/Event/KQueue.hsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libraries/base/GHC/Event/KQueue.hsc b/libraries/base/GHC/Event/KQueue.hsc
index 0d5350e..b3ac331 100644
--- a/libraries/base/GHC/Event/KQueue.hsc
+++ b/libraries/base/GHC/Event/KQueue.hsc
@@ -28,6 +28,7 @@ available = False
 
 import Data.Bits (Bits(..), FiniteBits(..))
 import Data.Word (Word16, Word32)
+import Data.Int  (Int16)
 import Foreign.C.Error (throwErrnoIfMinus1, eINTR, eINVAL,
                         eNOTSUP, getErrno, throwErrno)
 import Foreign.C.Types



More information about the ghc-commits mailing list