From e09f86fea87d87e254a9f450fb08d1ad8aee672e Mon Sep 17 00:00:00 2001 From: simonpj Date: Thu, 21 Mar 2002 09:00:54 +0000 Subject: [PATCH] [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.) --- ghc/compiler/main/DriverMkDepend.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 1.7.10.4