[project @ 1999-09-20 11:18:05 by simonmar]
authorsimonmar <unknown>
Mon, 20 Sep 1999 11:18:05 +0000 (11:18 +0000)
committersimonmar <unknown>
Mon, 20 Sep 1999 11:18:05 +0000 (11:18 +0000)
Fix for compiling w/ ghc-2.10

ghc/compiler/utils/StringBuffer.lhs

index ae6d872..5d724bb 100644 (file)
@@ -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