aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Backends')
-rw-r--r--src/Haddock/Backends/Hoogle.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Haddock/Backends/Hoogle.hs b/src/Haddock/Backends/Hoogle.hs
index f921938f..23fcf0c4 100644
--- a/src/Haddock/Backends/Hoogle.hs
+++ b/src/Haddock/Backends/Hoogle.hs
@@ -16,7 +16,11 @@ import Haddock.GHC
import Haddock.GHC.Utils
import Haddock.Types
import Haddock.Utils
+#if __GLASGOW_HASKELL__ >= 609
+import GHC
+#else
import GHC hiding ((<.>))
+#endif
import SrcLoc
import Outputable