openwrt/tools/mkimage/patches/010-freebsd-ulong-fix.patch

14 lines
223 B
Diff

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