@@ -18,7 +18,10 @@ module Network.Transport.Internal ( -- * Encoders/decoders
21+#if ! MIN_VERSION_base(4,6,0)
21import Prelude hiding (catch)
22import Prelude hiding (catch)
22import Foreign.Storable (pokeByteOff, peekByteOff)
25import Foreign.Storable (pokeByteOff, peekByteOff)
23import Foreign.C (CInt(..), CShort(..))
26import Foreign.C (CInt(..), CShort(..))
24import Foreign.ForeignPtr (withForeignPtr)
27import Foreign.ForeignPtr (withForeignPtr)