From: simonpj Date: Thu, 21 Mar 2002 09:00:54 +0000 (+0000) Subject: [project @ 2002-03-21 09:00:54 by simonpj] X-Git-Tag: Approx_11550_changesets_converted~2238 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e09f86fea87d87e254a9f450fb08d1ad8aee672e;p=ghc-hetmet.git [project @ 2002-03-21 09:00:54 by simonpj] Restore lost imports for catchJust, ioErrors, accidentally removed by Sigbjorn's commit. (Hard to spot -- it's only needed for 4.08 and earlier.) --- diff --git a/ghc/compiler/main/DriverMkDepend.hs b/ghc/compiler/main/DriverMkDepend.hs index 22fbd80..5d49e54 100644 --- a/ghc/compiler/main/DriverMkDepend.hs +++ b/ghc/compiler/main/DriverMkDepend.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: DriverMkDepend.hs,v 1.19 2002/03/20 20:20:26 sof Exp $ +-- $Id: DriverMkDepend.hs,v 1.20 2002/03/21 09:00:54 simonpj Exp $ -- -- GHC Driver -- @@ -30,6 +30,10 @@ import IO import Monad ( when ) import Maybe ( isJust ) +#if __GLASGOW_HASKELL__ <= 408 +import Util ( catchJust, ioErrors ) +#endif + ------------------------------------------------------------------------------- -- mkdependHS