openwrtv4/tools/mkimage/patches/010-freebsd-ulong-fix.patch
Alexandros C. Couloumbis 4e83015c51 tools/mkimage: fix compilation on FreeBSD
SVN-Revision: 24887
2011-01-03 12:30:19 +00:00

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