aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-30 20:21:46 +0000
committerIan Lynagh <igloo@earth.li>2010-07-30 20:21:46 +0000
commit9efbdbefffd477ab5261724b926f0096f0e578b6 (patch)
treed444a5cd090045d394da275c35c78d48f310f62f
parente998ed04e53f295715251be764457ff4eec4ae9f (diff)
Fix build in GHC tree
-rw-r--r--haddock.cabal1
-rw-r--r--src/Haddock/InterfaceFile.hs2
2 files changed, 2 insertions, 1 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 0058cb59..e102d64d 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -124,6 +124,7 @@ executable haddock
Haddock.Backends.Xhtml.DocMarkup
Haddock.Backends.Xhtml.Layout
Haddock.Backends.Xhtml.Names
+ Haddock.Backends.Xhtml.Themes
Haddock.Backends.Xhtml.Types
Haddock.Backends.Xhtml.Utils
Haddock.Backends.LaTeX
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index e97b8a3e..5fe47b72 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -103,7 +103,7 @@ writeInterfaceFile filename iface = do
-- write the symtab pointer at the front of the file
symtab_p <- tellBin bh
putAt bh symtab_p_p symtab_p
- seekBin bh symtab_p
+ seekBin bh symtab_p
-- write the symbol table itself
symtab_next' <- readFastMutInt symtab_next