aboutsummaryrefslogtreecommitdiff
path: root/recipes/mtd/mtd-utils/removelinuxinc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mtd/mtd-utils/removelinuxinc.patch')
-rw-r--r--recipes/mtd/mtd-utils/removelinuxinc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/mtd/mtd-utils/removelinuxinc.patch b/recipes/mtd/mtd-utils/removelinuxinc.patch
new file mode 100644
index 0000000..984d1af
--- /dev/null
+++ b/recipes/mtd/mtd-utils/removelinuxinc.patch
@@ -0,0 +1,16 @@
+diff -urN mtd.orig/fs/jffs2/compr_rtime.c mtd/fs/jffs2/compr_rtime.c
+--- mtd.orig/fs/jffs2/compr_rtime.c 2004-04-02 20:36:01.000000000 -0500
++++ mtd/fs/jffs2/compr_rtime.c 2004-04-02 20:35:37.000000000 -0500
+@@ -21,11 +21,7 @@
+ *
+ */
+
+-#include <linux/kernel.h>
+-#include <linux/types.h>
+-#include <linux/errno.h>
+-#include <linux/string.h>
+-
++#include <string.h>
+ #include <stdint.h>
+
+ /* _compress returns the compressed size, -1 if bigger */