diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-18 17:23:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-18 17:23:11 +0000 |
commit | a1260bcc1f82fab029c81a041e0638b44a2f0139 (patch) | |
tree | 40feedf97f21790222e747bd294d082975e2cf4c /main/conntrack-tools/musl-fix-includes.patch | |
parent | 033138b6148fb33035ef097cc8c16e435a17fd8e (diff) | |
download | aports-a1260bcc1f82fab029c81a041e0638b44a2f0139.tar.bz2 aports-a1260bcc1f82fab029c81a041e0638b44a2f0139.tar.xz |
main/conntrack-tools: fix musl build
Diffstat (limited to 'main/conntrack-tools/musl-fix-includes.patch')
-rw-r--r-- | main/conntrack-tools/musl-fix-includes.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/main/conntrack-tools/musl-fix-includes.patch b/main/conntrack-tools/musl-fix-includes.patch new file mode 100644 index 0000000000..ca5feb1b72 --- /dev/null +++ b/main/conntrack-tools/musl-fix-includes.patch @@ -0,0 +1,51 @@ +--- conntrack-tools-1.4.2.orig/include/bitops.h ++++ conntrack-tools-1.4.2/include/bitops.h +@@ -1,7 +1,7 @@ + #ifndef _BITOPS_H_ + #define _BITOPS_H_ + +-#include <stdlib.h> ++#include <sys/types.h> + + static inline void set_bit_u32(int nr, u_int32_t *addr) + { +--- conntrack-tools-1.4.2.orig/include/conntrackd.h ++++ conntrack-tools-1.4.2/include/conntrackd.h +@@ -12,6 +12,7 @@ + #include <stdio.h> + #include <libnetfilter_conntrack/libnetfilter_conntrack.h> + #include <syslog.h> ++#include <sys/select.h> + + /* UNIX facilities */ + #define CT_FLUSH_MASTER 0 /* flush kernel conntrack table */ +--- conntrack-tools-1.4.2.orig/include/mcast.h ++++ conntrack-tools-1.4.2/include/mcast.h +@@ -2,6 +2,7 @@ + #define _MCAST_H_ + + #include <stdint.h> ++#include <sys/select.h> + #include <netinet/in.h> + #include <net/if.h> + +--- conntrack-tools-1.4.2.orig/include/tcp.h ++++ conntrack-tools-1.4.2/include/tcp.h +@@ -2,6 +2,7 @@ + #define _TCP_H_ + + #include <stdint.h> ++#include <sys/select.h> + #include <netinet/in.h> + + struct tcp_conf { +--- conntrack-tools-1.4.2.orig/include/udp.h ++++ conntrack-tools-1.4.2/include/udp.h +@@ -2,6 +2,7 @@ + #define _UDP_H_ + + #include <stdint.h> ++#include <sys/select.h> + #include <netinet/in.h> + + struct udp_conf { |