Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/x86/grub

Buildroot nkukard at uclibc.org 1 participant 1 message May 12, 2008

lore
Share & tools
lore
#0 lore raw

Author: nkukard
Date: 2008-05-12 11:56:11 -0700 (Mon, 12 May 2008) New Revision: 21974

Log:
features.h should never be included explicitly.
This fixes the bug where "File not found" error is reported by grub. This fix works under both uclibc and glibc.

Modified:
trunk/buildroot/target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch

Changeset:
Modified: trunk/buildroot/target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch
===================================================================

buildroot/target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch +2 -2
@@ -5,7 +5,7 @@
   *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   */
  
-+#include <features.h>
++/* #include <features.h> - NK */
 +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
  /* Try to use glibc's transparant LFS support. */
  #define _LARGEFILE_SOURCE	1
@@ -22,7 +22,7 @@
   *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   */
  
-+#include <features.h>
++/* #include <features.h> - NK */
 +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
  /* Try to use glibc's transparant LFS support. */
  #define _LARGEFILE_SOURCE       1