openwrtv3/tools/mkimage/patches/010-freebsd-ulong-fix.patch
Luka Perkov 5342a1a2ea mkimage: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40807
2014-05-21 09:42:33 +00:00

13 lines
218 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 <libfdt.h>
#include <fdt_support.h>