diff --git a/ghc/compiler/deSugar/DsCCall.lhs b/ghc/compiler/deSugar/DsCCall.lhs
index 3badf9792208048438a70ba9f42d50d4583fb390..a57a3a28bdc08f8b7619c64a4ea731028e2eee79 100644
--- a/ghc/compiler/deSugar/DsCCall.lhs
+++ b/ghc/compiler/deSugar/DsCCall.lhs
@@ -10,6 +10,7 @@ module DsCCall ( dsCCall ) where
 
 IMP_Ubiq()
 
+import CmdLineOpts (opt_PprUserLength)
 import CoreSyn
 
 import DsMonad
@@ -18,7 +19,7 @@ import DsUtils
 import CoreUtils	( coreExprType )
 import Id		( dataConArgTys )
 import Maybes		( maybeToBool )
-import PprStyle		( PprStyle(..) )
+import Outputable	( PprStyle(..), Outputable(..) )
 import PprType		( GenType{-instances-} )
 import Pretty
 import PrelVals		( packStringForCId )
@@ -32,9 +33,6 @@ import TysWiredIn	( getStatePairingConInfo,
 			  stringTy
 			)
 import Util		( pprPanic, pprError, panic )
-#if __GLASGOW_HASKELL__ >= 202
-import Outputable       ( Outputable(..) )
-#endif
 
 \end{code}
 
@@ -176,7 +174,7 @@ unboxArg arg
 
 can't_see_datacons_error thing ty
   = pprError "ERROR: Can't see the data constructor(s) for _ccall_/_casm_ "
-	     (hcat [text thing, text "; type: ", ppr PprForUser ty])
+	     (hcat [text thing, text "; type: ", ppr (PprForUser opt_PprUserLength) ty])
 \end{code}