mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
tools/kernel2minor: fix portability issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
7304510392
commit
8782672b90
13
tools/kernel2minor/patches/100-portability.patch
Normal file
13
tools/kernel2minor/patches/100-portability.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user