aboutsummaryrefslogtreecommitdiffstats
path: root/tools/kernel2minor/patches/100-portability.patch
blob: 43340ae4f209f4c872db697e525c13b3cc3ed0b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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