aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHH.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockHH.hs')
-rw-r--r--src/HaddockHH.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/HaddockHH.hs b/src/HaddockHH.hs
index d1c0f486..9357c00c 100644
--- a/src/HaddockHH.hs
+++ b/src/HaddockHH.hs
@@ -1,8 +1,15 @@
module HaddockHH(ppHHContents, ppHHIndex) where
import HsSyn hiding(Doc)
+
+#if __GLASGOW_HASKELL__ < 503
import Pretty
import FiniteMap
+#else
+import Text.PrettyPrint
+import Data.FiniteMap
+#endif
+
import HaddockModuleTree
import HaddockUtil
import HaddockTypes