aboutsummaryrefslogtreecommitdiff
path: root/recipes/mtd/mtd-utils/stdint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mtd/mtd-utils/stdint.patch')
-rw-r--r--recipes/mtd/mtd-utils/stdint.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/mtd/mtd-utils/stdint.patch b/recipes/mtd/mtd-utils/stdint.patch
new file mode 100644
index 0000000..ba171fc
--- /dev/null
+++ b/recipes/mtd/mtd-utils/stdint.patch
@@ -0,0 +1,11 @@
+--- fs/jffs2/compr_rtime.c 2004-04-01 00:07:53.000000000 +0100
++++ fs/jffs2/compr_rtime.c 2004-04-01 00:07:53.000000000 +0100
+@@ -26,6 +26,8 @@
+ #include <linux/errno.h>
+ #include <linux/string.h>
+
++#include <stdint.h>
++
+ /* _compress returns the compressed size, -1 if bigger */
+ int jffs2_rtime_compress(unsigned char *data_in, unsigned char *cpage_out,
+ uint32_t *sourcelen, uint32_t *dstlen)