summaryrefslogtreecommitdiffstats
path: root/main/u-boot/include-sys-types.patch
blob: 3869e9f081c6f7d9c600cc262cff1a5a4e9fb5ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- u-boot-2014.04.orig/include/image.h
+++ u-boot-2014.04/include/image.h
@@ -24,6 +24,8 @@
 
 #ifdef USE_HOSTCC
 
+#include <sys/types.h>
+
 /* new uImage format support enabled on host */
 #define CONFIG_FIT		1
 #define CONFIG_OF_LIBFDT	1
--- u-boot-2014.04.orig/tools/mkimage.h
+++ u-boot-2014.04/tools/mkimage.h
@@ -16,6 +16,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
+#include <sys/types.h>
 #include <time.h>
 #include <unistd.h>
 #include <sha1.h>
--- u-boot-2014.04.orig/tools/proftool.c
+++ u-boot-2014.04/tools/proftool.c
@@ -16,6 +16,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/param.h>
+#include <sys/types.h>
 
 #include <compiler.h>
 #include <trace.h>