diff --git a/libc/include/unistd.h b/libc/include/unistd.h index 75541980d..d90e73717 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -131,7 +131,7 @@ extern int sync(void); extern int close(int); extern off_t lseek(int, off_t, int); -extern loff_t lseek64(int, loff_t, int); +extern off64_t lseek64(int, off64_t, int); extern ssize_t read(int, void *, size_t); extern ssize_t write(int, const void *, size_t); diff --git a/libc/unistd/lseek64.c b/libc/unistd/lseek64.c index 017b33185..db0c41352 100644 --- a/libc/unistd/lseek64.c +++ b/libc/unistd/lseek64.c @@ -29,7 +29,7 @@ extern int __llseek(int fd, unsigned long offset_hi, unsigned long offset_lo, loff_t* result, int whence); -loff_t lseek64(int fd, loff_t off, int whence) +off64_t lseek64(int fd, off64_t off, int whence) { loff_t result;