From: Felix Fietkau Date: Thu, 5 Jan 2017 16:21:51 +0000 (+0100) Subject: tools/kernel2minor: fix portability issue X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8782672b9019a52806d2824b451a78ceba107847;p=openwrt%2Fstaging%2Fzorun.git tools/kernel2minor: fix portability issue Signed-off-by: Felix Fietkau --- 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 + +-typedef __loff_t loff_t; ++typedef int64_t loff_t; + + #define YAFFS_OK 1 + #define YAFFS_FAIL 0