summaryrefslogtreecommitdiff
path: root/target/x86
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-31 12:30:02 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-31 12:30:02 +0000
commitc4cd1bcb84e7cd1c8acd76d2359f3b75d66b8e29 (patch)
treebdc2d91822a7c51f9ebf57c7baf6ba293daf221c /target/x86
parent2b3ad678ffb34f488dce4319f65ac29544778eee (diff)
grub: revert r21974 (features.h should never be included explicitly)
features.h (or something including it) is needed for __UCLIBC* to get defined - E.G. without that the build breaks without largefile support. Nigel, what was the reason for your commit and what file not found error did you see?
Diffstat (limited to 'target/x86')
-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 30c532db4..5b941865b 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> - NK */
++#include <features.h>
+#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> - NK */
++#include <features.h>
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
/* Try to use glibc's transparant LFS support. */
#define _LARGEFILE_SOURCE 1