openwrtv3/tools/kernel2minor/patches/100-portability.patch
Felix Fietkau 8782672b90 tools/kernel2minor: fix portability issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-06 15:34:19 +01:00

13 lines
240 B
Diff

--- 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