haskell-bind/SG.hsc: fix unsafePerformIO import problem with ghc>=7.8

This commit is contained in:
hallgren
2015-09-14 11:42:42 +00:00
parent b717031cbf
commit cf959444a2

View File

@@ -12,7 +12,7 @@ module SG( SG, openSG, closeSG
, queryTriple , queryTriple
) where ) where
import Foreign import Foreign hiding (unsafePerformIO)
import Foreign.C import Foreign.C
import SG.FFI import SG.FFI
import PGF2.FFI import PGF2.FFI
@@ -20,7 +20,7 @@ import PGF2.Expr
import Data.Typeable import Data.Typeable
import Control.Exception(Exception,SomeException,catch,throwIO) import Control.Exception(Exception,SomeException,catch,throwIO)
import System.IO.Unsafe(unsafeInterleaveIO) import System.IO.Unsafe(unsafePerformIO,unsafeInterleaveIO)
----------------------------------------------------------------------- -----------------------------------------------------------------------
-- Global database operations and types -- Global database operations and types