Changes for the new IO library, mainly base-package modules moving around
[ghc-hetmet.git] / compiler / basicTypes / UniqSupply.lhs
index cb1a1fc..9a5e803 100644 (file)
@@ -31,7 +31,11 @@ import FastTypes
 import MonadUtils
 import Control.Monad
 import Control.Monad.Fix
+#if __GLASGOW_HASKELL__ >= 611
+import GHC.IO (unsafeDupableInterleaveIO)
+#else
 import GHC.IOBase (unsafeDupableInterleaveIO)
+#endif
 
 \end{code}