svn commit: branches/uClibc_0_9_28/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Mon Feb 5 00:33:25 UTC 2007


Author: vapier
Date: 2007-02-04 16:33:24 -0800 (Sun, 04 Feb 2007)
New Revision: 17774

Log:
backport from trunk; fix building with LFS disabled

Modified:
   branches/uClibc_0_9_28/libc/sysdeps/linux/common/readahead.c


Changeset:
Modified: branches/uClibc_0_9_28/libc/sysdeps/linux/common/readahead.c
===================================================================
--- branches/uClibc_0_9_28/libc/sysdeps/linux/common/readahead.c	2007-02-04 21:59:39 UTC (rev 17773)
+++ branches/uClibc_0_9_28/libc/sysdeps/linux/common/readahead.c	2007-02-05 00:33:24 UTC (rev 17774)
@@ -23,6 +23,8 @@
 #include <sys/syscall.h>
 #include <bits/wordsize.h>
 
+#ifdef __UCLIBC_HAS_LFS__
+
 #ifdef __NR_readahead
 
 # define __NR___readahead __NR_readahead
@@ -50,3 +52,5 @@
 # endif
 
 #endif
+
+#endif /* __UCLIBC_HAS_LFS__ */




More information about the uClibc-cvs mailing list