diff --git a/ghc/compiler/codeGen/CgRetConv.lhs b/ghc/compiler/codeGen/CgRetConv.lhs
index 7389c0d62a3ffcb78e6c3f77e136f176f4e43376..a50c659604887c476a27476de951dd1cf1cdcd86 100644
--- a/ghc/compiler/codeGen/CgRetConv.lhs
+++ b/ghc/compiler/codeGen/CgRetConv.lhs
@@ -23,7 +23,9 @@ module CgRetConv (
     ) where
 
 IMP_Ubiq(){-uitous-}
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201
 IMPORT_DELOOPER(AbsCLoop)		-- paranoia checking
+#endif
 
 import AbsCSyn		-- quite a few things
 import AbsCUtils	( mkAbstractCs, getAmodeRep,
diff --git a/ghc/compiler/codeGen/CgUsages.lhs b/ghc/compiler/codeGen/CgUsages.lhs
index cab19c01eb9147a063760f692fdd7a50cea9011d..3ff49808fa9c757148ffa62b99c35eecc3c26d02 100644
--- a/ghc/compiler/codeGen/CgUsages.lhs
+++ b/ghc/compiler/codeGen/CgUsages.lhs
@@ -21,7 +21,9 @@ module CgUsages (
     ) where
 
 IMP_Ubiq(){-uitous-}
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201
 IMPORT_DELOOPER(CgLoop1)	-- here for paranoia-checking
+#endif
 
 import AbsCSyn		( RegRelative(..), AbstractC, CAddrMode )
 import CgMonad