summaryrefslogtreecommitdiff
path: root/tools/mkimage/patches/010-freebsd-ulong-fix.patch
blob: b4951b0e25331ed0b1337ef3b5fc8e49ef685550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/include/image.h
+++ b/include/image.h
@@ -61,6 +61,10 @@
 
 #endif /* USE_HOSTCC */
 
+#ifndef ulong
+#define ulong unsigned long
+#endif
+
 #if defined(CONFIG_FIT)
 #include <libfdt.h>
 #include <fdt_support.h>