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