[project @ 2004-11-26 11:58:18 by simonmar]
authorsimonmar <unknown>
Fri, 26 Nov 2004 11:58:21 +0000 (11:58 +0000)
committersimonmar <unknown>
Fri, 26 Nov 2004 11:58:21 +0000 (11:58 +0000)
More 'import Prelude's to help make -j.

Data/Generics/Basics.hs
Data/Version.hs
System/Console/GetOpt.hs
System/FilePath.hs
System/Posix/Signals.hsc
System/Process/Internals.hs

index d3d8e0c..5d3f80f 100644 (file)
@@ -97,9 +97,7 @@ module Data.Generics.Basics (
 
 ------------------------------------------------------------------------------
 
-#ifdef __HADDOCK__
-import Prelude
-#endif
+import Prelude -- necessary to get dependencies right
 
 import Data.Typeable
 import Data.Maybe
index a57678f..8ffe754 100644 (file)
@@ -30,6 +30,8 @@ module Data.Version (
        showVersion, parseVersion,
   ) where
 
+import Prelude -- necessary to get dependencies right
+
 -- These #ifdefs are necessary because this code might be compiled as
 -- part of ghc/lib/compat, and hence might be compiled by an older version
 -- of GHC.  In which case, we might need to pick up ReadP from 
index 8162997..cfa721f 100644 (file)
@@ -50,6 +50,8 @@ module System.Console.GetOpt (
    -- $example
 ) where
 
+import Prelude -- necessary to get dependencies right
+
 import Data.List ( isPrefixOf )
 
 -- |What to do with options following non-options
index 317c7f4..a4f9689 100644 (file)
@@ -38,6 +38,8 @@ module System.FilePath
          , searchPathSeparator
          ) where
 
+import Prelude -- necessary to get dependencies right
+
 import Data.List(intersperse)
 
 --------------------------------------------------------------
index 3585ddb..7318e5d 100644 (file)
@@ -94,6 +94,8 @@ module System.Posix.Signals (
 #endif
   ) where
 
+import Prelude -- necessary to get dependencies right
+
 #ifdef __GLASGOW_HASKELL__
 #include "Signals.h"
 #else
index 6751d15..0d01825 100644 (file)
@@ -21,6 +21,8 @@ module System.Process.Internals (
 #endif
   ) where
 
+import Prelude -- necessary to get dependencies right
+
 #if !defined(mingw32_TARGET_OS) && !defined(__MINGW32__)
 import System.Posix.Types ( CPid )
 #else