diff options
Diffstat (limited to 'libc/sysdeps/linux/powerpc/pread_write.c')
-rw-r--r-- | libc/sysdeps/linux/powerpc/pread_write.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/pread_write.c b/libc/sysdeps/linux/powerpc/pread_write.c index e9dd36680..7f8923720 100644 --- a/libc/sysdeps/linux/powerpc/pread_write.c +++ b/libc/sysdeps/linux/powerpc/pread_write.c @@ -39,6 +39,10 @@ #include <sys/syscall.h> #include <unistd.h> +#if ! defined __UCLIBC_HAS_LFS__ +#define off64_t off_t +#endif + #ifdef __NR_pread #define __NR___syscall_pread __NR_pread static inline _syscall4(ssize_t, __syscall_pread, int, fd, |