summaryrefslogtreecommitdiff
path: root/recipes/linux/files/linux-2.6-limits.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/files/linux-2.6-limits.patch')
-rw-r--r--recipes/linux/files/linux-2.6-limits.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/linux/files/linux-2.6-limits.patch b/recipes/linux/files/linux-2.6-limits.patch
new file mode 100644
index 0000000000..777a2fa671
--- /dev/null
+++ b/recipes/linux/files/linux-2.6-limits.patch
@@ -0,0 +1,10 @@
+--- linux/scripts/mod/sumversion.c.orig 2009-03-15 21:44:58.000000000 +0100
++++ linux/scripts/mod/sumversion.c 2009-03-15 21:44:58.000000000 +0100
+@@ -8,6 +8,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include "modpost.h"
++#include <linux/limits.h>
+
+ /*
+ * Stolen form Cryptographic API.