From fae4730ba5198ae17632801f6c1be6a1f630b1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Thu, 8 May 2014 13:11:29 +0200 Subject: [PATCH] Import HscTypes (HscEnv) with ghc <= 7.2 --- Language/Haskell/GhcMod/Monad.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Language/Haskell/GhcMod/Monad.hs b/Language/Haskell/GhcMod/Monad.hs index f3860ff..81faa30 100644 --- a/Language/Haskell/GhcMod/Monad.hs +++ b/Language/Haskell/GhcMod/Monad.hs @@ -25,6 +25,9 @@ import MonadUtils import DynFlags import Data.Monoid (Monoid) +#if !MIN_VERSION_ghc(7,4,0) +import HscTypes +#endif import Data.IORef (IORef, readIORef, writeIORef, newIORef) import Control.Monad (liftM)