aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/InterfaceFile.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/InterfaceFile.hs
parent985c84aa4fe1422d211254c1a484c66f12a87a9e (diff)
follow changes in the GHC API
Diffstat (limited to 'src/Haddock/InterfaceFile.hs')
-rw-r--r--src/Haddock/InterfaceFile.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 57b5627a..f66f862f 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -35,6 +35,9 @@ import UniqSupply
import UniqFM
import IfaceEnv
import HscTypes
+#if MIN_VERSION_ghc(7,1,0)
+import GhcMonad (withSession)
+#endif
import FastMutInt
import FastString
import Unique