Skip to content

Commit

Permalink
tools/kernel2minor: fix portability issue
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Jan 6, 2017
1 parent 7304510 commit 8782672
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tools/kernel2minor/patches/100-portability.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8782672

Please sign in to comment.