diff --git a/Text/PrettyPrint/ANSI/Leijen.hs b/Text/PrettyPrint/ANSI/Leijen.hs
--- a/Text/PrettyPrint/ANSI/Leijen.hs
+++ b/Text/PrettyPrint/ANSI/Leijen.hs
@@ -152,7 +152,7 @@
 
 import Data.String (IsString(..))
 import Data.Maybe (isNothing, fromMaybe, catMaybes)
-import Data.Monoid
+import Data.Monoid (Monoid, mappend, mconcat, mempty)
 
 
 infixr 5 </>,<//>,<$>,<$$>
diff --git a/ansi-wl-pprint.cabal b/ansi-wl-pprint.cabal
--- a/ansi-wl-pprint.cabal
+++ b/ansi-wl-pprint.cabal
@@ -1,5 +1,5 @@
 Name:                ansi-wl-pprint
-Version:             0.6.3
+Version:             0.6.4
 Cabal-Version:       >= 1.2
 Category:            User Interfaces, Text
 Synopsis:            The Wadler/Leijen Pretty Printer for colored ANSI terminal output
