openwrtv4/tools/mkimage/patches/010-freebsd-ulong-fix.patch
Luka Perkov f170eacc88 mkimage: update to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42082
2014-08-08 21:03:14 +00:00

13 lines
211 B
Diff

--- a/include/image.h
+++ b/include/image.h
@@ -44,6 +44,10 @@
#endif /* USE_HOSTCC */
+#ifndef ulong
+#define ulong unsigned long
+#endif
+
#if defined(CONFIG_FIT)
#include <hash.h>
#include <libfdt.h>