diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-09-22 22:49:08 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-09-28 13:15:54 +0200 |
commit | cce05194164eb4068c8237eb227065ac773fc418 (patch) | |
tree | 4b567b11f6ab20c113e7597343f60e893b98ced5 | |
parent | 158a5b5435dfc2aa7daee2b2c9c392d3e14bf60c (diff) | |
download | haskell-cce05194164eb4068c8237eb227065ac773fc418.tar.gz |
IntWord64: Add import of GHC.Types
-rw-r--r-- | libraries/base/GHC/Stack/Types.hs | 4 | ||||
-rw-r--r-- | libraries/ghc-prim/GHC/IntWord64.hs | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libraries/base/GHC/Stack/Types.hs b/libraries/base/GHC/Stack/Types.hs index fc9d6c21cb..5c37f64713 100644 --- a/libraries/base/GHC/Stack/Types.hs +++ b/libraries/base/GHC/Stack/Types.hs @@ -23,6 +23,10 @@ module GHC.Stack.Types ( import GHC.Types +-- Make implicit dependency known to build system +import GHC.Tuple () +import GHC.Integer () + ---------------------------------------------------------------------- -- Explicit call-stacks built via ImplicitParams ---------------------------------------------------------------------- diff --git a/libraries/ghc-prim/GHC/IntWord64.hs b/libraries/ghc-prim/GHC/IntWord64.hs index 52dc08efc5..35bbfd886f 100644 --- a/libraries/ghc-prim/GHC/IntWord64.hs +++ b/libraries/ghc-prim/GHC/IntWord64.hs @@ -23,7 +23,10 @@ module GHC.IntWord64 ( #endif ) where +import GHC.Types () -- Make implicit dependency known to build system + #if WORD_SIZE_IN_BITS < 64 + import GHC.Prim foreign import ccall unsafe "hs_eqWord64" eqWord64# :: Word64# -> Word64# -> Int# |