diff --git a/Text/Pandoc/Generic.hs b/Text/Pandoc/Generic.hs
--- a/Text/Pandoc/Generic.hs
+++ b/Text/Pandoc/Generic.hs
@@ -122,7 +122,7 @@
 import Data.Generics
 #if MIN_VERSION_base(4,8,0)
 #else
-import Data.Monoid (Monoid, mappend)
+import Data.Monoid (Monoid, mappend, mempty)
 #endif
 
 -- | Applies a transformation on @a@s to matching elements in a @b@,
diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,3 +1,7 @@
+[1.17.0.2]
+
+  * Added a necessary import from Data.Monoid (for ghc 7.8).
+
 [1.17.0.1]
 
   * Fix compiler warnings around Data.Monoid import on some platforms.
diff --git a/pandoc-types.cabal b/pandoc-types.cabal
--- a/pandoc-types.cabal
+++ b/pandoc-types.cabal
@@ -1,5 +1,5 @@
 Name:                pandoc-types
-Version:             1.17.0.1
+Version:             1.17.0.2
 Synopsis:            Types for representing a structured document
 Description:         @Text.Pandoc.Definition@ defines the 'Pandoc' data
                      structure, which is used by pandoc to represent
