summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-05-19 16:35:40 +0100
committerIan Lynagh <ian@well-typed.com>2013-05-19 16:44:00 +0100
commitaba043a0a142ef0ee66ed0e6cbfe2a39c65d8792 (patch)
tree114998a56b6c8a8ff2fac3fd955723a42c4491e1
parent14233fc19fc8b4cbf3f4b3205360435415790a14 (diff)
downloadhaskell-aba043a0a142ef0ee66ed0e6cbfe2a39c65d8792.tar.gz
Fix build order when building with integer-simple
The problem hasn't shown up with integer-gmp, but I can't see why it couldn't happen in that case too.
-rw-r--r--libraries/base/Unsafe/Coerce.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/base/Unsafe/Coerce.hs b/libraries/base/Unsafe/Coerce.hs
index 66f64c8a32..caae4c6e55 100644
--- a/libraries/base/Unsafe/Coerce.hs
+++ b/libraries/base/Unsafe/Coerce.hs
@@ -33,6 +33,7 @@ module Unsafe.Coerce (unsafeCoerce) where
#if defined(__GLASGOW_HASKELL__)
+import GHC.Integer () -- for build ordering
import GHC.Prim (unsafeCoerce#)
local_id :: a -> a