aboutsummaryrefslogtreecommitdiff
path: root/src/FastMutInt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/FastMutInt.hs')
-rw-r--r--src/FastMutInt.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FastMutInt.hs b/src/FastMutInt.hs
index 6b25e360..0e98852b 100644
--- a/src/FastMutInt.hs
+++ b/src/FastMutInt.hs
@@ -17,8 +17,13 @@ module FastMutInt(
#endif
+#if __GLASGOW_HASKELL__ < 503
import GlaExts
import PrelIOBase
+#else
+import GHC.Base
+import GHC.IOBase
+#endif
#if __GLASGOW_HASKELL__ < 411
newByteArray# = newCharArray#