X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/debb45054a3c4d4da3faac372e993b594e5a0df7..73233f0f1232c337ede5fae3f9f95d78457df7d0:/syscall.c diff --git a/syscall.c b/syscall.c index 10b32f84..a004d9d3 100644 --- a/syscall.c +++ b/syscall.c @@ -124,3 +124,12 @@ int do_fstat(int fd, STRUCT_STAT *st) return fstat(fd, st); #endif } + +OFF_T do_lseek(int fd, OFF_T offset, int whence) +{ +#if HAVE_OFF64_T + return lseek64(fd, offset, whence); +#else + return lseek(fd, offset, whence); +#endif +}