From d79d93813a2f01a373059624eb2ceb77e4cc886f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 28 Oct 2008 12:50:10 +0000 Subject: - fix compilation if LFS is off and STUBs are requested --- libc/sysdeps/linux/common/sync_file_range.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/sync_file_range.c b/libc/sysdeps/linux/common/sync_file_range.c index 53f7ae6a1..90a8edd3c 100644 --- a/libc/sysdeps/linux/common/sync_file_range.c +++ b/libc/sysdeps/linux/common/sync_file_range.c @@ -24,7 +24,7 @@ int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) flags); } #elif defined __UCLIBC_HAS_STUBS__ -int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) +int sync_file_range(int fd, __off64_t offset, __off64_t nbytes, unsigned int flags) { __set_errno(ENOSYS); return -1; -- cgit v1.2.3