1
0
forked from GitHub/gf-core

Fixes for GHC 7.6 compatibility

This commit is contained in:
hallgren
2014-03-04 14:28:44 +00:00
parent 76ba865c2e
commit 108e04b7bd
2 changed files with 4 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ module Data.Binary.Builder (
) where
import Foreign
import Foreign(Word8,Ptr,Storable,ForeignPtr,withForeignPtr,poke,plusPtr,sizeOf)
import System.IO.Unsafe(unsafePerformIO)
import Data.Monoid
--import Data.Word

View File

@@ -91,8 +91,10 @@ import Foreign
-- used by splitAtST
#if MIN_VERSION_base(4,6,0)
import Control.Monad.ST.Unsafe(unsafeInterleaveST)
#else
import Control.Monad.ST(unsafeInterleaveST)
#endif
import Control.Monad.ST
import Control.Monad.ST(runST)
import Data.STRef
#if defined(__GLASGOW_HASKELL__) && !defined(__HADDOCK__)