summaryrefslogtreecommitdiff
path: root/recipes/kexecboot/linux-kexecboot-2.6.21-hh20/gcc4x-limits.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/kexecboot/linux-kexecboot-2.6.21-hh20/gcc4x-limits.patch')
-rw-r--r--recipes/kexecboot/linux-kexecboot-2.6.21-hh20/gcc4x-limits.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/kexecboot/linux-kexecboot-2.6.21-hh20/gcc4x-limits.patch b/recipes/kexecboot/linux-kexecboot-2.6.21-hh20/gcc4x-limits.patch
new file mode 100644
index 0000000000..02f3a5da09
--- /dev/null
+++ b/recipes/kexecboot/linux-kexecboot-2.6.21-hh20/gcc4x-limits.patch
@@ -0,0 +1,10 @@
+--- linux/scripts/mod/sumversion.c.orig 2008-11-15 12:22:04.000000000 +0000
++++ linux/scripts/mod/sumversion.c 2008-11-15 12:22:21.000000000 +0000
+@@ -7,6 +7,7 @@
+ #include <ctype.h>
+ #include <errno.h>
+ #include <string.h>
++#include <linux/limits.h>
+ #include "modpost.h"
+
+ /*