svn commit: trunk/uClibc/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Sat Sep 23 03:44:35 UTC 2006


Author: vapier
Date: 2006-09-22 20:44:35 -0700 (Fri, 22 Sep 2006)
New Revision: 16193

Log:
only include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by Miguel ?\195?\129ngel

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/readahead.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/readahead.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/readahead.c	2006-09-22 19:11:59 UTC (rev 16192)
+++ trunk/uClibc/libc/sysdeps/linux/common/readahead.c	2006-09-23 03:44:35 UTC (rev 16193)
@@ -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 @@
 # endif
 
 #endif
+
 #endif /* __UCLIBC_HAS_LFS__ */




More information about the uClibc-cvs mailing list