aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-28 18:26:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-28 18:26:24 +0000
commit51cb25f2bddfe4cf37c33a1756a6fa3b41a3b068 (patch)
treecb1f69333c7bd2e7f6f7054c2201941f233de92b
parent10cbf87e76fde4b69cce9722a9f2c44c8f132e73 (diff)
downloadupstream-51cb25f2bddfe4cf37c33a1756a6fa3b41a3b068.tar.gz
upstream-51cb25f2bddfe4cf37c33a1756a6fa3b41a3b068.tar.bz2
upstream-51cb25f2bddfe4cf37c33a1756a6fa3b41a3b068.zip
conntrack-tools: add more missing include statements
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45096 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/utils/conntrack-tools/patches/100-missing_include.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/network/utils/conntrack-tools/patches/100-missing_include.patch b/package/network/utils/conntrack-tools/patches/100-missing_include.patch
index a4c7f9b625..96941a8b94 100644
--- a/package/network/utils/conntrack-tools/patches/100-missing_include.patch
+++ b/package/network/utils/conntrack-tools/patches/100-missing_include.patch
@@ -8,3 +8,33 @@
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)
+ {