tools/kernel2minor: fix portability issue
[openwrt/openwrt.git] / tools / kernel2minor / patches / 100-portability.patch
1 --- a/yaffs2/yaffs_guts.h
2 +++ b/yaffs2/yaffs_guts.h
3 @@ -17,8 +17,9 @@
4 #define __YAFFS_GUTS_H__
5
6 #include "yportenv.h"
7 +#include <stdint.h>
8
9 -typedef __loff_t loff_t;
10 +typedef int64_t loff_t;
11
12 #define YAFFS_OK 1
13 #define YAFFS_FAIL 0