From: rrt Date: Wed, 15 Aug 2001 14:59:34 +0000 (+0000) Subject: [project @ 2001-08-15 14:59:34 by rrt] X-Git-Tag: Approximately_9120_patches~1226 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2d4edc48c6f01d96dfb5f97cac5493a0c630dc82;p=ghc-hetmet.git [project @ 2001-08-15 14:59:34 by rrt] Dearie dearie me, we are in a tizz today. Put some imports needed for all platforms where they belong, and not in a mingwin-only ifdef. --- diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index 8c4694b..5469d2c 100644 --- a/ghc/compiler/main/SysTools.lhs +++ b/ghc/compiler/main/SysTools.lhs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: SysTools.lhs,v 1.50 2001/08/15 14:36:21 rrt Exp $ +-- $Id: SysTools.lhs,v 1.51 2001/08/15 14:59:34 rrt Exp $ -- -- (c) The University of Glasgow 2001 -- @@ -74,13 +74,14 @@ import qualified Posix #else import List ( isPrefixOf ) import MarshalArray +#endif + -- use the line below when we can be sure of compiling with GHC >= -- 5.02, and remove the implementation of rawSystem at the end of this -- file import PrelIOBase -- this can be removed when SystemExts is used import CError ( throwErrnoIfMinus1 ) -- as can this -- import SystemExts ( rawSystem ) -#endif #include "HsVersions.h"