Commits

Bryan O'Sullivan  committed 86f840a

Make GHC 7.4.1 happier

  • Participants
  • Parent commits 3f4a5c1

Comments (0)

Files changed (1)

File Data/BloomFilter/Hash.hs

 import Data.Int (Int8, Int16, Int32, Int64)
 import Data.Word (Word8, Word16, Word32, Word64)
 import Foreign.C.String (CString)
+#if __GLASGOW_HASKELL__ >= 704
+import Foreign.C.Types (CInt(..), CSize(..))
+#else
 import Foreign.C.Types (CInt, CSize)
+#endif
 import Foreign.ForeignPtr (withForeignPtr)
 import Foreign.Marshal.Alloc (alloca)
 import Foreign.Marshal.Array (allocaArray, withArrayLen)