Changes for the new IO library, mainly base-package modules moving around
[ghc-hetmet.git] / compiler / ghci / RtClosureInspect.hs
index 4996fdb..f90b1ca 100644 (file)
@@ -60,7 +60,12 @@ import Constants        ( wORD_SIZE )
 
 import GHC.Arr          ( Array(..) )
 import GHC.Exts
-import GHC.IOBase ( IO(IO) )
+
+#if __GLASGOW_HASKELL__ >= 611
+import GHC.IO ( IO(..) )
+#else
+import GHC.IOBase ( IO(..) )
+#endif
 
 import Control.Monad
 import Data.Maybe