--- a/libtiff/tiffiop.h
+++ b/libtiff/tiffiop.h
@@ -284,7 +284,7 @@ struct tiff {
 */
 #if defined(HAVE_FSEEKO)
 #  define fseek(stream,offset,whence)  fseeko(stream,offset,whence)
-#  define ftell(stream,offset,whence)  ftello(stream,offset,whence)
+#  define ftell(stream)  ftello(stream)
 #endif
 #endif
 #if defined(__WIN32__) && \
