openwrtv3/package/network/utils/conntrack-tools/patches/100-missing_include.patch
Felix Fietkau efebc77f94 conntrack-tools: add more missing include statements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45096
2015-03-28 18:26:24 +00:00

40 lines
711 B
Diff

--- a/include/mcast.h
+++ b/include/mcast.h
@@ -4,6 +4,7 @@
#include <stdint.h>
#include <netinet/in.h>
#include <net/if.h>
+#include <sys/select.h>
struct mcast_conf {
int ipproto;
--- a/include/tcp.h
+++ b/include/tcp.h
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <netinet/in.h>
+#include <sys/select.h>
struct tcp_conf {
int ipproto;
--- a/include/udp.h
+++ b/include/udp.h
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <netinet/in.h>
+#include <sys/select.h>
struct udp_conf {
int ipproto;
--- a/include/bitops.h
+++ b/include/bitops.h
@@ -2,6 +2,7 @@
#define _BITOPS_H_
#include <stdlib.h>
+#include <sys/types.h>
static inline void set_bit_u32(int nr, u_int32_t *addr)
{