From c8580f51ba8c9eef787bef7b3e259860858c0f62 Mon Sep 17 00:00:00 2001 From: Josua Mayer Date: Fri, 24 Jun 2016 12:46:49 +0200 Subject: u-boot-envtools: fix building with glibc tools/env/fw_env.c misses to include stdint.h. Apparently musl doesn't mind and includes this header by default, but glibc does not and causes the build to fail. Signed-off-by: Josua Mayer --- .../uboot-envtools/patches/400-u-boot-2015.10-stdint.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/boot/uboot-envtools/patches/400-u-boot-2015.10-stdint.patch (limited to 'package/boot') diff --git a/package/boot/uboot-envtools/patches/400-u-boot-2015.10-stdint.patch b/package/boot/uboot-envtools/patches/400-u-boot-2015.10-stdint.patch new file mode 100644 index 0000000000..395674fd8b --- /dev/null +++ b/package/boot/uboot-envtools/patches/400-u-boot-2015.10-stdint.patch @@ -0,0 +1,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 + #include + #include +-#include ++#include ++#include + + #ifdef MTD_OLD + # include -- cgit v1.2.3