1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 06:20:16 +02:00
openwrt-xburst/tools/mkimage/patches/010-freebsd-ulong-fix.patch
acoul db7f3756da tools/mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:30:19 +00:00

14 lines
210 B
Diff

--- 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>