openwrt/package/network/services/igmpproxy/patches/010-missing_include.patch

11 lines
222 B
Diff

--- 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)
{