From 36ddf7663a9923034384f4e4087e65e27c5b140a Mon Sep 17 00:00:00 2001 From: Denis Redozubov Date: Tue, 1 Mar 2016 11:59:00 +0300 Subject: [PATCH] fix 7.8.4 compilation --- servant-foreign/src/Servant/Foreign/Internal.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servant-foreign/src/Servant/Foreign/Internal.hs b/servant-foreign/src/Servant/Foreign/Internal.hs index d4130470..6851fd56 100644 --- a/servant-foreign/src/Servant/Foreign/Internal.hs +++ b/servant-foreign/src/Servant/Foreign/Internal.hs @@ -8,6 +8,9 @@ module Servant.Foreign.Internal where import Control.Lens hiding (cons) +#if !MIN_VERSION_base(4,8,0) +import Data.Monoid +#endif import Data.Proxy import Data.String import Data.Text