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

SVN-Revision: 36550
2013-05-05 20:11:04 +00:00

13 lines
218 B
Diff

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