summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-24 12:54:11 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-24 12:54:11 +0000
commita6e5000686d547b7fcd4effb8bb7a3b9bdc0aee0 (patch)
tree727ba237b7b33654cd4a1d129514b5757f9dece2 /libc/sysdeps/linux
parent1ad16873f18c34ac2080e989af6cd96cc7dc3ef6 (diff)
Fixup some small issues that show up when large file support is disabled
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/powerpc/pread_write.c4
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,