tools/mkimage: fix compilation on FreeBSD
[openwrt.git] / tools / mkimage / patches / 010-freebsd-ulong-fix.patch
diff --git a/tools/mkimage/patches/010-freebsd-ulong-fix.patch b/tools/mkimage/patches/010-freebsd-ulong-fix.patch
new file mode 100644 (file)
index 0000000..32fa074
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/include/image.h
++++ b/include/image.h
+@@ -50,6 +50,10 @@
+ #endif /* USE_HOSTCC */
++#ifndef ulong
++#define ulong unsigned long
++#endif
++
+ #if defined(CONFIG_FIT)
+ #include <fdt.h>
+ #include <libfdt.h>
This page took 0.022772 seconds and 4 git commands to generate.