X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d11f5c6e2b0c813136519e39820055cd73cfe463..0417c34e2d641cbac292ba5cf8a619249c87d4e3:/syscall.c diff --git a/syscall.c b/syscall.c index 48c7e901..117b10a0 100644 --- 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);