aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/GhcUtils.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-10-27 11:09:44 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-10-27 11:09:44 +0000
commit6cad3e8c495cb6b6630c6962a5e8c6673d095a2b (patch)
tree80a0e149ad971af050dcf3778e8ed83729d9b182 /src/Haddock/GhcUtils.hs
parent985c84aa4fe1422d211254c1a484c66f12a87a9e (diff)
follow changes in the GHC API
Diffstat (limited to 'src/Haddock/GhcUtils.hs')
-rw-r--r--src/Haddock/GhcUtils.hs5
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