lkml.org 
[lkml]   [2015]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 73/98] include/uapi/linux/netfilter/xt_ipvs.h: include linux/netfilter.h
Date
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@iki.fi>
---
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


\
 
 \ /
  Last update: 2015-05-30 19:01    [W:1.246 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site