tools/mkimage: update to version 2018.03
[openwrt/openwrt.git] / tools / mkimage / patches / 010-freebsd-ulong-fix.patch
1 --- a/include/image.h
2 +++ b/include/image.h
3 @@ -51,6 +51,10 @@ struct lmb;
4
5 #endif /* USE_HOSTCC */
6
7 +#ifndef ulong
8 +#define ulong unsigned long
9 +#endif
10 +
11 #if IMAGE_ENABLE_FIT
12 #include <hash.h>
13 #include <linux/libfdt.h>