summaryrefslogtreecommitdiff
path: root/packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2008-11-15 13:01:55 +0000
committerPaul Eggleton <bluelightning@bluelightning.org>2008-11-15 13:06:32 +0000
commita67695446b604cca6d8969adc3c273b632e5a037 (patch)
tree370184516744ef5a3cfce714013d0268f354b108 /packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch
parentf9452eeca830982b1c8a4c2e71a8dc60c5d0c5f1 (diff)
linux-handhelds: fix compilation error due to missing include
Add missing include of linux/limits.h. Fixes bug #4344.
Diffstat (limited to 'packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch')
-rw-r--r--packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch b/packages/linux/linux-handhelds-2.6-2.6.21/gcc4x-limits.patch
new file mode 100644
index 0000000000..02f3a5da09
--- /dev/null
+++ b/packages/linux/linux-handhelds-2.6-2.6.21/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"
+
+ /*