From: Changli Gao Date: Mon, 15 Nov 2010 11:27:27 +0000 (+0100) Subject: netfilter: nf_nat: define nat_pptp_info as needed X-Git-Tag: MMI-PSA29.97-13-9~20520^2~510^2~34 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03c0e5bb34c9755ae4d955c97fba40b24e9c7fe7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git netfilter: nf_nat: define nat_pptp_info as needed Signed-off-by: Changli Gao Signed-off-by: Patrick McHardy --- diff --git a/include/net/netfilter/nf_nat.h b/include/net/netfilter/nf_nat.h index e966092a36f1..aff80b190c12 100644 --- a/include/net/netfilter/nf_nat.h +++ b/include/net/netfilter/nf_nat.h @@ -56,7 +56,9 @@ struct nf_nat_multi_range_compat { /* per conntrack: nat application helper private data */ union nf_conntrack_nat_help { /* insert nat helper private data here */ +#if defined(CONFIG_NF_NAT_PPTP) || defined(CONFIG_NF_NAT_PPTP_MODULE) struct nf_nat_pptp nat_pptp_info; +#endif }; struct nf_conn;