From ff03f4f8b4ac1b9ccd9ef93c294ac835871c349f Mon Sep 17 00:00:00 2001 From: David Waern Date: Fri, 10 Oct 2008 20:33:38 +0000 Subject: Make Haddock build with GHC 6.8.2 --- src/Haddock/Backends/Html.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Haddock/Backends') diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs index 7d44d452..8b72c1ac 100644 --- a/src/Haddock/Backends/Html.hs +++ b/src/Haddock/Backends/Html.hs @@ -36,7 +36,11 @@ import System.IO ( IOMode(..), hClose, hGetBuf, hPutBuf, openFile ) import Data.Map ( Map ) import qualified Data.Map as Map hiding ( Map ) +#if __GLASGOW_HASKELL__ >= 609 import GHC hiding ( NoLink, moduleInfo ) +#else +import GHC hiding ( NoLink ) +#endif import Name import Module import PackageConfig -- cgit v1.2.3