Changes for the new IO library, mainly base-package modules moving around
[ghc-hetmet.git] / compiler / ghci / ByteCodeAsm.lhs
index 66a1500..4d360e1 100644 (file)
@@ -46,9 +46,14 @@ import Data.Int              ( Int64 )
 import Data.Char       ( ord )
 
 import GHC.Base                ( ByteArray#, MutableByteArray#, RealWorld )
-import GHC.IOBase      ( IO(..) )
 import GHC.Ptr         ( Ptr(..) )
 
+#if __GLASGOW_HASKELL__ >= 611
+import GHC.IO ( IO(..) )
+#else
+import GHC.IOBase ( IO(..) )
+#endif
+
 -- -----------------------------------------------------------------------------
 -- Unlinked BCOs