#ifdef __linux__
-int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags)
+int compat_sync_file_range(int fd, off_t offset, off_t nbytes, unsigned int flags)
{
#ifdef HAVE_SYNC_FILE_RANGE
return sync_file_range(fd, offset, nbytes, flags);