Browse Source

only include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by Miguel Ángel

Mike Frysinger 18 years ago
parent
commit
125208e9cd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      libc/sysdeps/linux/common/readahead.c

+ 3 - 1
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__ */