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 70/98] include/uapi/linux/netfilter/xt_HMARK.h: include linux/netfilter.h
Date
Fixes userspace compilation errors:

error: field ‘src_mask’ has incomplete type
union nf_inet_addr src_mask;
error: field ‘dst_mask’ has incomplete type
union nf_inet_addr dst_mask;

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

diff --git a/include/uapi/linux/netfilter/xt_HMARK.h b/include/uapi/linux/netfilter/xt_HMARK.h
index 826fc58..3fb48c8 100644
--- a/include/uapi/linux/netfilter/xt_HMARK.h
+++ b/include/uapi/linux/netfilter/xt_HMARK.h
@@ -2,6 +2,7 @@
#define XT_HMARK_H_

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

enum {
XT_HMARK_SADDR_MASK,
--
2.1.4


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