openwrtv3/tools/mkimage/patches/010-freebsd-ulong-fix.patch
Hauke Mehrtens b13e981d72 tools/mkimage: update to version 2018.03
This activates support for fit images and some other new mkimage
features. Some of the patches were applied upstream and could be
removed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-04-18 23:59:32 +02:00

13 lines
226 B
Diff

--- a/include/image.h
+++ b/include/image.h
@@ -51,6 +51,10 @@ struct lmb;
#endif /* USE_HOSTCC */
+#ifndef ulong
+#define ulong unsigned long
+#endif
+
#if IMAGE_ENABLE_FIT
#include <hash.h>
#include <linux/libfdt.h>