[source] tools/kernel2minor: fix portability issue

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 6 06:46:45 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/8782672b9019a52806d2824b451a78ceba107847

commit 8782672b9019a52806d2824b451a78ceba107847
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jan 5 17:21:51 2017 +0100

    tools/kernel2minor: fix portability issue
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 tools/kernel2minor/patches/100-portability.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/tools/kernel2minor/patches/100-portability.patch b/tools/kernel2minor/patches/100-portability.patch
new file mode 100644
index 0000000..43340ae
--- /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



More information about the lede-commits mailing list