aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2008-05-12 18:56:11 +0000
committerNigel Kukard <nkukard@lbsd.net>2008-05-12 18:56:11 +0000
commit714df8fb603c2361aea1052f0fe337977badac68 (patch)
treee501116987fcee6c9a8b62ccf2a3d2f2a5336a96 /target
parent7d77306f290c9c3c41ff07b78d6f787b3c8d9067 (diff)
downloadbuildroot-novena-714df8fb603c2361aea1052f0fe337977badac68.tar.gz
buildroot-novena-714df8fb603c2361aea1052f0fe337977badac68.zip
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.
Diffstat (limited to 'target')
-rw-r--r--target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch b/target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch
index 5b941865b..30c532db4 100644
--- a/target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch
+++ b/target/x86/grub/grub.300-honor_UCLIBC_HAS_LFS.patch
@@ -5,7 +5,7 @@ diff -rup grub-0.97.orig/grub/asmstub.c grub-0.97/grub/asmstub.c
* 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 @@ diff -rup grub-0.97.orig/lib/device.c grub-0.97/lib/device.c
* 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