openwrtv4/tools/mkimage/patches/010-freebsd-ulong-fix.patch
Luka Perkov 9c8ee9c264 mkimage: upgrade to version 2013.01.01
SVN-Revision: 35905
2013-03-08 20:16:11 +00:00

13 lines
210 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 <fdt.h>
#include <libfdt.h>