[PATCH 73/98] include/uapi/linux/netfilter/xt_ipvs.h: include linux/netfilter.h

From: Mikko Rapeli
Date: Sat May 30 2015 - 12:17:44 EST


Fixes userspace compilation errors:

error: field âvaddrâ has incomplete type
union nf_inet_addr vaddr, vmask;
error: field âvmaskâ has incomplete type
union nf_inet_addr vaddr, vmask;

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
include/uapi/linux/netfilter/xt_ipvs.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/netfilter/xt_ipvs.h b/include/uapi/linux/netfilter/xt_ipvs.h
index eff34ac..e03b9c3 100644
--- a/include/uapi/linux/netfilter/xt_ipvs.h
+++ b/include/uapi/linux/netfilter/xt_ipvs.h
@@ -2,6 +2,7 @@
#define _XT_IPVS_H

#include <linux/types.h>
+#include <linux/netfilter.h>

enum {
XT_IPVS_IPVS_PROPERTY = 1 << 0, /* all other options imply this one */
--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/