aboutsummaryrefslogtreecommitdiff
path: root/src/FastMutInt.hs
diff options
context:
space:
mode:
authorpanne <unknown>2002-06-23 14:54:00 +0000
committerpanne <unknown>2002-06-23 14:54:00 +0000
commitd3640a19b8a26ed07cfd463ae948925052c2ec2a (patch)
treec0545e62436fdeb1e580a410ca93bf91a07a7739 /src/FastMutInt.hs
parent4831dbbdd3d9899efdd07093507ae7bf08209289 (diff)
[haddock @ 2002-06-23 14:54:00 by panne]
Make it compile with newer GHCs
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#