diff --git a/ghc/compiler/utils/FastString.lhs b/ghc/compiler/utils/FastString.lhs
index 55723bc6938b32d8381b519e505eddda6f2e65ec..f49002ab3a38b36b3c4ecb46277dd5c2041c4fa5 100644
--- a/ghc/compiler/utils/FastString.lhs
+++ b/ghc/compiler/utils/FastString.lhs
@@ -61,7 +61,7 @@ import PrelPack
 import PrelST		( StateAndPtr#(..) )
 import PrelHandle	( readHandle, 
 #if __GLASGOW_HASKELL__ < 303
-			  filePtr, flushBuf,
+			  filePtr,
 #endif
 			  writeHandle
 			)