[project @ 2000-03-20 15:32:10 by panne]
authorpanne <unknown>
Mon, 20 Mar 2000 15:32:10 +0000 (15:32 +0000)
committerpanne <unknown>
Mon, 20 Mar 2000 15:32:10 +0000 (15:32 +0000)
Bootstrapping fix, this time for slurpFile

ghc/compiler/utils/StringBuffer.lhs

index b6b728f..1f6e615 100644 (file)
@@ -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