200-musl_fixes.patch 653 B

12345678910111213141516171819202122232425262728293031
  1. --- a/include/arptables.h
  2. +++ b/include/arptables.h
  3. @@ -1,6 +1,7 @@
  4. #ifndef _ARPTABLES_USER_H
  5. #define _ARPTABLES_USER_H
  6. +#include <sys/types.h>
  7. #include "arptables_common.h"
  8. #include "libarptc/libarptc.h"
  9. --- a/arptables.c
  10. +++ b/arptables.c
  11. @@ -43,6 +43,7 @@
  12. #include <arptables.h>
  13. #include <fcntl.h>
  14. #include <sys/wait.h>
  15. +#include <net/ethernet.h>
  16. #ifndef TRUE
  17. #define TRUE 1
  18. --- a/include/libarptc/arpt_kernel_headers.h
  19. +++ b/include/libarptc/arpt_kernel_headers.h
  20. @@ -5,7 +5,7 @@
  21. #include <limits.h>
  22. -#if defined(__GLIBC__) && __GLIBC__ == 2
  23. +#if 1
  24. #include <netinet/ip.h>
  25. #include <netinet/in.h>
  26. #include <netinet/ip_icmp.h>