aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage/patches/010-freebsd-ulong-fix.patch
blob: 7d891657f8ad6ce07baca2066f9a4bffe3b00546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/include/image.h
+++ b/include/image.h
@@ -51,6 +51,10 @@ struct lmb;
 
 #endif /* USE_HOSTCC */
 
+#ifndef ulong
+#define ulong unsigned long
+#endif
+
 #if IMAGE_ENABLE_FIT
 #include <hash.h>
 #include <linux/libfdt.h>