summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-28 17:48:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-05-28 17:48:49 -0400
commit7b286d6eae27baa4a03784810bd92fd6dc2ec16e (patch)
treeca4256ec3c47ed60e35ef89648daa78648d90407 /Annex.hs
parent802f2fc67cbb18ac0192ec0d9faaf7c3f9ce6218 (diff)
allow building with old versions of exceptions before MonadMask was split out
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Annex.hs b/Annex.hs
index 9ecb914cb..bb0b6f084 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -79,7 +79,9 @@ newtype Annex a = Annex { runAnnex :: ReaderT (MVar AnnexState) IO a }
MonadReader (MVar AnnexState),
MonadCatch,
MonadThrow,
+#if MIN_VERSION_exceptions(0,6,0)
MonadMask,
+#endif
Functor,
Applicative
)