1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00
openwrt/tools/mkimage/patches/010-freebsd-ulong-fix.patch

14 lines
218 B
Diff
Raw Normal View History

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