Restore compatibility with ghc-7.4

With ghc-7.4 'import M hiding (x)' causes an error if M does not export x...
This commit is contained in:
hallgren
2015-02-16 15:41:38 +00:00
parent 54ae70a81e
commit 956b721048
2 changed files with 5 additions and 0 deletions

View File

@@ -54,7 +54,9 @@ module Data.Binary.Builder (
) where
#if MIN_VERSION_base(4,8,0)
import Prelude hiding (empty)
#endif
import Foreign(Word,Word8,Ptr,Storable,ForeignPtr,withForeignPtr,poke,plusPtr,sizeOf)
import System.IO.Unsafe(unsafePerformIO)
import Data.Monoid