diff --git a/Data/ByteString/Short/Internal.hs b/Data/ByteString/Short/Internal.hs index a546d22be..38d113ad3 100644 --- a/Data/ByteString/Short/Internal.hs +++ b/Data/ByteString/Short/Internal.hs @@ -167,6 +167,12 @@ import Data.ByteString.Internal.Type import Data.Array.Byte ( ByteArray(..), MutableByteArray(..) ) +#if MIN_VERSION_base(4,11,0) && !defined(PURE_HASKELL) +import Foreign.C.Types + ( CSize(..) + , CInt(..) + ) +#endif import Data.Bits ( FiniteBits (finiteBitSize) , shiftL