diff --git a/ghc/compiler/deSugar/Check.lhs b/ghc/compiler/deSugar/Check.lhs
index ebdadb41b3b697340f6161f117c92a879d54b523..dbbbea4742665a8daf1f1897f6975982e1ef193b 100644
--- a/ghc/compiler/deSugar/Check.lhs
+++ b/ghc/compiler/deSugar/Check.lhs
@@ -27,7 +27,7 @@ import TcHsSyn		( SYN_IE(TypecheckedPat),
 import DsHsSyn		( outPatType ) 
 import CoreSyn		
 
-import DsMonad		( DsMatchContext(..),
+import DsMonad		( SYN_IE(DsM), DsMatchContext(..),
 			  DsMatchKind(..)
                         )
 import DsUtils		( EquationInfo(..),