aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Utils/FastMutInt2.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Utils/FastMutInt2.hs')
-rw-r--r--src/Haddock/Utils/FastMutInt2.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Haddock/Utils/FastMutInt2.hs b/src/Haddock/Utils/FastMutInt2.hs
index 14273ac6..4ac50e60 100644
--- a/src/Haddock/Utils/FastMutInt2.hs
+++ b/src/Haddock/Utils/FastMutInt2.hs
@@ -22,7 +22,11 @@ import GlaExts
import PrelIOBase
#else
import GHC.Base
+#if __GLASGOW_HASKELL__ < 611
import GHC.IOBase
+#else
+import GHC.IO
+#endif
#endif
#if __GLASGOW_HASKELL__ < 411