diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-02-24 12:54:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-02-24 12:54:11 +0000 |
commit | a6e5000686d547b7fcd4effb8bb7a3b9bdc0aee0 (patch) | |
tree | 727ba237b7b33654cd4a1d129514b5757f9dece2 /libc/sysdeps/linux/powerpc | |
parent | 1ad16873f18c34ac2080e989af6cd96cc7dc3ef6 (diff) |
Fixup some small issues that show up when large file support is disabled
Diffstat (limited to 'libc/sysdeps/linux/powerpc')
-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, |