From fbd136e44b4cfa3079268dbf7861958d89f60574 Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 6 Mar 2002 18:47:36 +0000 Subject: [PATCH] [project @ 2002-03-06 18:47:36 by sof] debugging-by-nightly-build-report: make it 4.08 compatible again..? --- ghc/compiler/utils/Binary.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/utils/Binary.hs b/ghc/compiler/utils/Binary.hs index 9aaea23..bdad7c3 100644 --- a/ghc/compiler/utils/Binary.hs +++ b/ghc/compiler/utils/Binary.hs @@ -66,7 +66,11 @@ import Exception import GlaExts hiding (ByteArray, newByteArray, freezeByteArray) import Array import IO -import PrelIOBase ( IOError(..), IOErrorType(..), IOException(..) ) +import PrelIOBase ( IOError(..), IOErrorType(..) +#if __GLASGOW_HASKELL__ > 411 + , IOException(..) +#endif + ) import PrelReal ( Ratio(..) ) import PrelIOBase ( IO(..) ) #else -- 1.7.10.4