aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/ModuleTree.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-08-13 21:44:17 +0000
committerDavid Waern <david.waern@gmail.com>2008-08-13 21:44:17 +0000
commit8fe13e0015d3e4a7190724c5c9a2442c1f176474 (patch)
tree17b230879637fe7e8d9183829c72146718568983 /src/Haddock/ModuleTree.hs
parentbefdccf529dcb60d5f2a909e308b85c958e6100e (diff)
Follow move of package string functions from PackageConfig to Module
Diffstat (limited to 'src/Haddock/ModuleTree.hs')
-rw-r--r--src/Haddock/ModuleTree.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Haddock/ModuleTree.hs b/src/Haddock/ModuleTree.hs
index 2413f951..eccfd3e5 100644
--- a/src/Haddock/ModuleTree.hs
+++ b/src/Haddock/ModuleTree.hs
@@ -9,7 +9,11 @@ module Haddock.ModuleTree ( ModuleTree(..), mkModuleTree ) where
import Haddock.DocName
import GHC ( HsDoc, Name )
import Module ( Module, moduleNameString, moduleName, modulePackageId )
-import PackageConfig ( packageIdString )
+#if __GLASGOW_HASKELL__ >= 609
+import Module (packageIdString)
+#else
+import PackageConfig (packageIdString)
+#endif
data ModuleTree = Node String Bool (Maybe String) (Maybe (HsDoc Name)) [ModuleTree]