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 63/98] include/uapi/linux/netfilter/xt_policy.h: include linux/in.h and linux/in6.h
Date
Fixes userspace compiler errors:

error: field ‘a4’ has incomplete type
struct in_addr a4;
error: field ‘a6’ has incomplete type
struct in6_addr a6;

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

diff --git a/include/uapi/linux/netfilter/xt_policy.h b/include/uapi/linux/netfilter/xt_policy.h
index be8ead0..d8a9800 100644
--- a/include/uapi/linux/netfilter/xt_policy.h
+++ b/include/uapi/linux/netfilter/xt_policy.h
@@ -2,6 +2,8 @@
#define _XT_POLICY_H

#include <linux/types.h>
+#include <linux/in.h>
+#include <linux/in6.h>

#define XT_POLICY_MAX_ELEM 4

--
2.1.4


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