From 677d27fbb0d32d0edfceca29386d4dd7ab8b59c7 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 20 Sep 1999 11:18:05 +0000 Subject: [PATCH] [project @ 1999-09-20 11:18:05 by simonmar] Fix for compiling w/ ghc-2.10 --- ghc/compiler/utils/StringBuffer.lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/utils/StringBuffer.lhs b/ghc/compiler/utils/StringBuffer.lhs index ae6d872..5d724bb 100644 --- a/ghc/compiler/utils/StringBuffer.lhs +++ b/ghc/compiler/utils/StringBuffer.lhs @@ -85,7 +85,8 @@ import Addr #endif #if __GLASGOW_HASKELL__ < 301 -import IOBase ( IOError(..), IOErrorType(..) ) +import IOBase ( Handle, IOError(..), IOErrorType(..), + constructErrorAndFail ) import IOHandle ( readHandle, writeHandle, filePtr ) import PackBase ( unpackCStringBA ) #else -- 1.7.10.4