From 9c0688438cbfa1d9863ed09a37d867de543d5411 Mon Sep 17 00:00:00 2001 From: panne Date: Mon, 20 Mar 2000 15:32:10 +0000 Subject: [PATCH] [project @ 2000-03-20 15:32:10 by panne] Bootstrapping fix, this time for slurpFile --- ghc/compiler/utils/StringBuffer.lhs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 1.7.10.4