Avoid forwarding the --temp-dir option to the server when we're
[rsync/rsync.git] / syscall.c
index 48c7e90..117b10a 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -255,7 +255,11 @@ int do_fstat(int fd, STRUCT_STAT *st)
 OFF_T do_lseek(int fd, OFF_T offset, int whence)
 {
 #ifdef HAVE_LSEEK64
+#if !SIZEOF_OFF64_T
+       OFF_T lseek64();
+#else
        off64_t lseek64();
+#endif
        return lseek64(fd, offset, whence);
 #else
        return lseek(fd, offset, whence);