浏览代码

- fix compilation if LFS is off and STUBs are requested

Bernhard Reutner-Fischer 15 年之前
父节点
当前提交
d79d93813a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/sysdeps/linux/common/sync_file_range.c

+ 1 - 1
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;