aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockDB.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockDB.hs')
-rw-r--r--src/HaddockDB.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/HaddockDB.hs b/src/HaddockDB.hs
index ebd0ccb2..f1718149 100644
--- a/src/HaddockDB.hs
+++ b/src/HaddockDB.hs
@@ -10,8 +10,14 @@ import HaddockTypes
import HaddockUtil
import HsSyn
+
+#if __GLASGOW_HASKELL__ < 503
import Pretty
import FiniteMap
+#else
+import Text.PrettyPrint
+import Data.FiniteMap
+#endif
-----------------------------------------------------------------------------
-- Printing the results in DocBook format