[PATCH 72/98] include/uapi/linux/netfilter/xt_TPROXY.h: include linux/netfilter.h

From: Mikko Rapeli
Date: Sat May 30 2015 - 12:11:16 EST


Fixes userspace compilation error:

error: field âladdrâ has incomplete type
union nf_inet_addr laddr;

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

diff --git a/include/uapi/linux/netfilter/xt_TPROXY.h b/include/uapi/linux/netfilter/xt_TPROXY.h
index 902043c..8d693ee 100644
--- a/include/uapi/linux/netfilter/xt_TPROXY.h
+++ b/include/uapi/linux/netfilter/xt_TPROXY.h
@@ -2,6 +2,7 @@
#define _XT_TPROXY_H

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

/* TPROXY target is capable of marking the packet to perform
* redirection. We can get rid of that whenever we get support for
--
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/