summaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/patches/400-u-boot-2015.10-stdint.patch
blob: 395674fd8b650ac49a53606ecc8da9546ed087b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Naur u-boot-2015.10.orig/tools/env/fw_env.c u-boot-2015.10/tools/env/fw_env.c
--- u-boot-2015.10.orig/tools/env/fw_env.c	2016-06-24 12:42:31.152391850 +0200
+++ u-boot-2015.10/tools/env/fw_env.c	2016-06-24 12:42:59.080391754 +0200
@@ -21,7 +21,8 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>
-#include <unistd.h>
+#include <unistd.h>
+#include <stdint.h>
 
 #ifdef MTD_OLD
 # include <stdint.h>