aboutsummaryrefslogtreecommitdiffstats
path: root/tools/kernel2minor/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-05 17:21:51 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-06 15:34:19 +0100
commit8782672b9019a52806d2824b451a78ceba107847 (patch)
treebf51f2d497962129413ef594b41ec63a37343ad1 /tools/kernel2minor/patches
parent7304510392f53013e42d40974be47af3e2494bc7 (diff)
downloadupstream-8782672b9019a52806d2824b451a78ceba107847.tar.gz
upstream-8782672b9019a52806d2824b451a78ceba107847.tar.bz2
upstream-8782672b9019a52806d2824b451a78ceba107847.zip
tools/kernel2minor: fix portability issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/kernel2minor/patches')
-rw-r--r--tools/kernel2minor/patches/100-portability.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/kernel2minor/patches/100-portability.patch b/tools/kernel2minor/patches/100-portability.patch
new file mode 100644
index 0000000000..43340ae4f2
--- /dev/null
+++ b/tools/kernel2minor/patches/100-portability.patch
@@ -0,0 +1,13 @@
+--- a/yaffs2/yaffs_guts.h
++++ b/yaffs2/yaffs_guts.h
+@@ -17,8 +17,9 @@
+ #define __YAFFS_GUTS_H__
+
+ #include "yportenv.h"
++#include <stdint.h>
+
+-typedef __loff_t loff_t;
++typedef int64_t loff_t;
+
+ #define YAFFS_OK 1
+ #define YAFFS_FAIL 0