diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,13 @@
 
+0.8.0 to 0.8.1:
+
+  * Fixed error with missing CPP directive in ZMidi.Core.Pretty.
+
+
+0.7.0 to 0.8.0:
+
+  * Updated to compile without errors with GHC 7.10.
+
 
 0.6.0 to 0.7.0:
 
diff --git a/src/ZMidi/Core/Pretty.hs b/src/ZMidi/Core/Pretty.hs
--- a/src/ZMidi/Core/Pretty.hs
+++ b/src/ZMidi/Core/Pretty.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP                        #-}
 {-# OPTIONS -Wall #-}
 
 --------------------------------------------------------------------------------
@@ -36,6 +37,9 @@
 import ZMidi.Core.Pretty.Internal
 import ZMidi.Core.Pretty.Interp
 
+#ifndef MIN_VERSION_GLASGOW_HASKELL
+import Data.Monoid
+#endif
 
 -- | Print the MIDI file to stdout.
 --
diff --git a/src/ZMidi/Core/VersionNumber.hs b/src/ZMidi/Core/VersionNumber.hs
--- a/src/ZMidi/Core/VersionNumber.hs
+++ b/src/ZMidi/Core/VersionNumber.hs
@@ -22,7 +22,7 @@
 
 -- | Version number
 --
--- > (0,8,0)
+-- > (0,8,1)
 --
 zmidi_core_version :: (Int,Int,Int)
-zmidi_core_version = (0,8,0)
+zmidi_core_version = (0,8,1)
diff --git a/zmidi-core.cabal b/zmidi-core.cabal
--- a/zmidi-core.cabal
+++ b/zmidi-core.cabal
@@ -1,5 +1,5 @@
 name:             zmidi-core
-version:          0.8.0
+version:          0.8.1
 license:          BSD3
 license-file:     LICENSE
 copyright:        Stephen Tetley <stephen.tetley@gmail.com>
@@ -13,7 +13,11 @@
   dependencies only on ByteString, Containers and Data.Binary.
   .
   Changelog:
-  
+  .
+  v0.8.0 to v0.8.1:
+  . 
+  * Fixed error with missing CPP directive in ZMidi.Core.Pretty.
+  . 
   v0.7.0 to v0.8.0:
   .
   * Updated to compile without errors with GHC 7.10.
