summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-09-14 11:42:42 +0000
committerhallgren <hallgren@chalmers.se>2015-09-14 11:42:42 +0000
commit82f238fe2b418a715fef52abc7136551fa535aac (patch)
tree3c147fa87786698c16736d1e27f4dfd67e81255f /src/runtime
parentaf309f0d7d97cd589c2b73ec32c9df8c3a57d693 (diff)
haskell-bind/SG.hsc: fix unsafePerformIO import problem with ghc>=7.8
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/haskell-bind/SG.hsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/haskell-bind/SG.hsc b/src/runtime/haskell-bind/SG.hsc
index 1e70c3268..37bc074b3 100644
--- a/src/runtime/haskell-bind/SG.hsc
+++ b/src/runtime/haskell-bind/SG.hsc
@@ -12,7 +12,7 @@ module SG( SG, openSG, closeSG
, queryTriple
) where
-import Foreign
+import Foreign hiding (unsafePerformIO)
import Foreign.C
import SG.FFI
import PGF2.FFI
@@ -20,7 +20,7 @@ import PGF2.Expr
import Data.Typeable
import Control.Exception(Exception,SomeException,catch,throwIO)
-import System.IO.Unsafe(unsafeInterleaveIO)
+import System.IO.Unsafe(unsafePerformIO,unsafeInterleaveIO)
-----------------------------------------------------------------------
-- Global database operations and types