summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-23 03:44:35 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-23 03:44:35 +0000
commit125208e9cd79a655a5770679143d0f0d85459ad9 (patch)
tree8a507473064975de24d612b6673841a7963d3d2f /libc/sysdeps/linux/common
parent45223588d17a4774e5c34fdd4d9a0c60f49242ee (diff)
only include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by Miguel Ángel
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/readahead.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/readahead.c b/libc/sysdeps/linux/common/readahead.c
index 3b05a38f5..ae7a57c44 100644
--- a/libc/sysdeps/linux/common/readahead.c
+++ b/libc/sysdeps/linux/common/readahead.c
@@ -22,10 +22,11 @@
#include <sys/types.h>
#include <sys/syscall.h>
#include <bits/wordsize.h>
-#include <_lfs_64.h>
#ifdef __UCLIBC_HAS_LFS__
+#include <_lfs_64.h>
+
#ifdef __NR_readahead
# define __NR___readahead __NR_readahead
@@ -53,4 +54,5 @@ ssize_t readahead(int fd, off64_t offset, size_t count)
# endif
#endif
+
#endif /* __UCLIBC_HAS_LFS__ */