summaryrefslogtreecommitdiffstats
path: root/main/u-boot/include-sys-types.patch
blob: 254befb7f5bdbc4f3ce76b4ff5c28feabd2bf400 (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
32
33
34
35
36
37
38
39
40
41
42
--- u-boot-2015.04-rc5.orig/include/image.h
+++ u-boot-2015.04-rc5/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
Only in u-boot-2015.04-rc5: include/timestamp_autogenerated.h
--- u-boot-2015.04-rc5.orig/tools/imagetool.h
+++ u-boot-2015.04-rc5/tools/imagetool.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 <u-boot/sha1.h>
--- u-boot-2015.04-rc5.orig/tools/mkimage.h
+++ u-boot-2015.04-rc5/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 <u-boot/sha1.h>
--- u-boot-2015.04-rc5.orig/tools/proftool.c
+++ u-boot-2015.04-rc5/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>