aboutsummaryrefslogtreecommitdiffstats
path: root/main/u-boot/include-sys-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/u-boot/include-sys-types.patch')
-rw-r--r--main/u-boot/include-sys-types.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/u-boot/include-sys-types.patch b/main/u-boot/include-sys-types.patch
new file mode 100644
index 0000000000..3869e9f081
--- /dev/null
+++ b/main/u-boot/include-sys-types.patch
@@ -0,0 +1,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>