blob: a7600b30105acf7362a613f02e4b978f9e3e2007 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 86b962e7c0de43b20b6210d059e4855ce87078bc Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Jul 2017 16:20:08 -0700
4Subject: [PATCH] Adjust the order of headers to fix build for musl
5
6Fixes
7kexec/ifdown.c:33:16: error: storage size of 'ifc' isn't known
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 kexec/ifdown.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/kexec/ifdown.c b/kexec/ifdown.c
15index 2215798..e13f777 100644
16--- a/kexec/ifdown.c
17+++ b/kexec/ifdown.c
18@@ -16,8 +16,8 @@ char *v_ifdown = "@(#)ifdown.c 1.11 02-Jun-1998 miquels@cistron.nl";
19 #include <sys/time.h>
20 #include <errno.h>
21
22-#include <net/if.h>
23 #include <netinet/in.h>
24+#include <net/if.h>
25
26 #define MAX_IFS 64
27
28--
292.13.2
30