diff options
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch')
-rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch new file mode 100644 index 000000000..1d96a2b3d --- /dev/null +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 0976d2d5be1ed44c2324b609c7d16c1e93181c4b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 13 Jul 2017 16:20:08 -0700 | ||
4 | Subject: [PATCH] Adjust the order of headers to fix build for musl | ||
5 | |||
6 | Fixes | ||
7 | kexec/ifdown.c:33:16: error: storage size of 'ifc' isn't known | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | |||
12 | --- | ||
13 | kexec/ifdown.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/kexec/ifdown.c b/kexec/ifdown.c | ||
17 | index 9679ad7..82c6141 100644 | ||
18 | --- a/kexec/ifdown.c | ||
19 | +++ b/kexec/ifdown.c | ||
20 | @@ -16,8 +16,8 @@ char *v_ifdown = "@(#)ifdown.c 1.11 02-Jun-1998 miquels@cistron.nl"; | ||
21 | #include <sys/socket.h> | ||
22 | #include <sys/time.h> | ||
23 | |||
24 | -#include <net/if.h> | ||
25 | #include <netinet/in.h> | ||
26 | +#include <net/if.h> | ||
27 | |||
28 | /* | ||
29 | * First, we find all shaper devices and down them. Then we | ||