diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-10-27 11:09:44 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-10-27 11:09:44 +0000 |
commit | 6cad3e8c495cb6b6630c6962a5e8c6673d095a2b (patch) | |
tree | 80a0e149ad971af050dcf3778e8ed83729d9b182 /src/Haddock/GhcUtils.hs | |
parent | 985c84aa4fe1422d211254c1a484c66f12a87a9e (diff) |
follow changes in the GHC API
Diffstat (limited to 'src/Haddock/GhcUtils.hs')
-rw-r--r-- | src/Haddock/GhcUtils.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Haddock/GhcUtils.hs b/src/Haddock/GhcUtils.hs index fdc9a5c3..9c5090af 100644 --- a/src/Haddock/GhcUtils.hs +++ b/src/Haddock/GhcUtils.hs @@ -29,8 +29,11 @@ import Name import Packages import Module import RdrName (GlobalRdrEnv) +#if MIN_VERSION_ghc(7,1,0) +import GhcMonad (withSession) +#endif import HscTypes -#if __GLASGOW_HASKELL__ >= 613 +#if MIN_VERSION_ghc(6,13,0) import UniqFM #else import LazyUniqFM |