fix unregisterised stage 2 build
authorSimon Marlow <simonmar@microsoft.com>
Tue, 19 Feb 2008 09:34:07 +0000 (09:34 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 19 Feb 2008 09:34:07 +0000 (09:34 +0000)
compiler/ghci/RtClosureInspect.hs

index 9e2ef17..269a7bb 100644 (file)
@@ -70,6 +70,10 @@ import TysWiredIn
 import Outputable
 import Panic
 
+#ifndef GHCI_TABLES_NEXT_TO_CODE
+import Constants        ( wORD_SIZE )
+#endif
+
 import GHC.Arr          ( Array(..) )
 import GHC.Exts
 import GHC.IOBase ( IO(IO) )