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

14 lines
210 B
Diff
Raw Normal View History

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