diff --git a/mockery.cabal b/mockery.cabal
--- a/mockery.cabal
+++ b/mockery.cabal
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           mockery
-version:        0.3.1
+version:        0.3.2
 synopsis:       Support functions for automated testing
 description:    Support functions for automated testing
 category:       Testing
diff --git a/test/Test/Mockery/LoggingSpec.hs b/test/Test/Mockery/LoggingSpec.hs
--- a/test/Test/Mockery/LoggingSpec.hs
+++ b/test/Test/Mockery/LoggingSpec.hs
@@ -1,5 +1,9 @@
+{-# LANGUAGE CPP #-}
 module Test.Mockery.LoggingSpec (spec) where
 
+#if !MIN_VERSION_base(4,8,0)
+import           Control.Applicative
+#endif
 import Test.Hspec
 import Data.IORef
 import System.Logging.Facade.Types
