summaryrefslogtreecommitdiff
path: root/tools/mkimage/patches/010-freebsd-ulong-fix.patch
blob: 75b9e892ad03664a597d0d46b1c824c6f76adbfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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 <hash.h>
 #include <libfdt.h>