diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-09-11 18:40:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-09-11 18:40:10 +0000 |
commit | a22508d835ca1d7657d5ec41667e466e5e88fd9f (patch) | |
tree | 74582bdd102a16d874d45d777a6bac73ad8b3c88 /libc | |
parent | daf1c674eaaaf4cec6d05a5b08a37af6783bd6a0 (diff) | |
download | uClibc-alpine-a22508d835ca1d7657d5ec41667e466e5e88fd9f.tar.bz2 uClibc-alpine-a22508d835ca1d7657d5ec41667e466e5e88fd9f.tar.xz |
The readahead syscall requires LFS/64 bit support
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/readahead.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/readahead.c b/libc/sysdeps/linux/common/readahead.c index 5220b5dc4..3b05a38f5 100644 --- a/libc/sysdeps/linux/common/readahead.c +++ b/libc/sysdeps/linux/common/readahead.c @@ -22,6 +22,9 @@ #include <sys/types.h> #include <sys/syscall.h> #include <bits/wordsize.h> +#include <_lfs_64.h> + +#ifdef __UCLIBC_HAS_LFS__ #ifdef __NR_readahead @@ -50,3 +53,4 @@ ssize_t readahead(int fd, off64_t offset, size_t count) # endif #endif +#endif /* __UCLIBC_HAS_LFS__ */ |