0001-Adjust-the-order-of-headers-to-fix-build-for-musl.patch 758 B

123456789101112131415161718192021222324252627282930
  1. From 86b962e7c0de43b20b6210d059e4855ce87078bc 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. Fixes
  6. kexec/ifdown.c:33:16: error: storage size of 'ifc' isn't known
  7. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  8. ---
  9. kexec/ifdown.c | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/kexec/ifdown.c b/kexec/ifdown.c
  12. index 2215798..e13f777 100644
  13. --- a/kexec/ifdown.c
  14. +++ b/kexec/ifdown.c
  15. @@ -16,8 +16,8 @@ char *v_ifdown = "@(#)ifdown.c 1.11 02-Jun-1998 miquels@cistron.nl";
  16. #include <sys/time.h>
  17. #include <errno.h>
  18. -#include <net/if.h>
  19. #include <netinet/in.h>
  20. +#include <net/if.h>
  21. #define MAX_IFS 64
  22. --
  23. 2.13.2