From: panne Date: Mon, 20 Mar 2000 15:32:10 +0000 (+0000) Subject: [project @ 2000-03-20 15:32:10 by panne] X-Git-Tag: Approximately_9120_patches~4945 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9c0688438cbfa1d9863ed09a37d867de543d5411;p=ghc-hetmet.git [project @ 2000-03-20 15:32:10 by panne] Bootstrapping fix, this time for slurpFile --- diff --git a/ghc/compiler/utils/StringBuffer.lhs b/ghc/compiler/utils/StringBuffer.lhs index b6b728f..1f6e615 100644 --- a/ghc/compiler/utils/StringBuffer.lhs +++ b/ghc/compiler/utils/StringBuffer.lhs @@ -75,7 +75,11 @@ import Char ( chr ) #include "../lib/std/cbits/stgerror.h" #if __GLASGOW_HASKELL__ >= 303 -import IO ( openFile, slurpFile ) +import IO ( openFile +#if __GLASGOW_HASKELL__ < 407 + , slurpFile -- comes from PrelHandle or IOExts now +#endif + ) import PrelIOBase import PrelHandle import Addr