From d6c5f133a74a068fce1300caf07fd57cc9218230 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Mon, 11 Dec 2023 14:07:20 +0100 Subject: [PATCH] Fix --- Data/ByteString/Short/Internal.hs | 6 ++++++ 1 file changed, 6 insertions(+) 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