tools/mkimage: update to version 2018.03
[openwrt/openwrt.git] / tools / mkimage / patches / 010-freebsd-ulong-fix.patch
index 1101e72d15bf071e951dc245ebec78f47aab3079..7d891657f8ad6ce07baca2066f9a4bffe3b00546 100644 (file)
@@ -1,6 +1,6 @@
 --- a/include/image.h
 +++ b/include/image.h
-@@ -44,6 +44,10 @@ struct lmb;
+@@ -51,6 +51,10 @@ struct lmb;
  
  #endif /* USE_HOSTCC */
  
@@ -8,6 +8,6 @@
 +#define ulong unsigned long
 +#endif
 +
- #if defined(CONFIG_FIT)
+ #if IMAGE_ENABLE_FIT
  #include <hash.h>
- #include <libfdt.h>
+ #include <linux/libfdt.h>