fix 5.04 compile
authorSimon Marlow <simonmar@microsoft.com>
Tue, 24 Oct 2006 13:39:43 +0000 (13:39 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 24 Oct 2006 13:39:43 +0000 (13:39 +0000)
compiler/main/HeaderInfo.hs

index 1566137..dc97e20 100644 (file)
@@ -92,7 +92,8 @@ getImpMod (ImportDecl located_mod _ _ _ _) = located_mod
 getOptionsFromFile :: FilePath            -- input file
                    -> IO [Located String] -- options, if any
 getOptionsFromFile filename
-    = bracket (openBinaryFile filename ReadMode)
+    = System.IO.bracket
+             (openBinaryFile filename ReadMode)
               (hClose)
               (\handle ->
                    do buf <- hGetStringBufferBlock handle blockSize