aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-08-03 11:15:54 +0000
committerJohn Crispin <blogic@openwrt.org>2014-08-03 11:15:54 +0000
commitfe103372ad50445e16db29e98f6d47c4de1a7f0f (patch)
tree28f2da1f7b0fdc7ca2f7646858b204d376c33cba
parent6ae1616d4e80141ab86e0e85064bf651d9925e7d (diff)
downloadupstream-fe103372ad50445e16db29e98f6d47c4de1a7f0f.tar.gz
upstream-fe103372ad50445e16db29e98f6d47c4de1a7f0f.tar.bz2
upstream-fe103372ad50445e16db29e98f6d47c4de1a7f0f.zip
igmpproxy: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r41957 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41979 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/services/igmpproxy/patches/010-missing_include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/services/igmpproxy/patches/010-missing_include.patch b/package/network/services/igmpproxy/patches/010-missing_include.patch
new file mode 100644
index 0000000000..af0eab845b
--- /dev/null
+++ b/package/network/services/igmpproxy/patches/010-missing_include.patch
@@ -0,0 +1,10 @@
+--- a/src/os-linux.h
++++ b/src/os-linux.h
+@@ -3,6 +3,7 @@
+ #include <linux/mroute.h>
+ #include <netinet/ip.h>
+ #include <netinet/igmp.h>
++#include <sys/types.h>
+
+ static inline u_short ip_data_len(const struct ip *ip)
+ {