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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=03c0e5bb34c9755ae4d955c97fba40b24e9c7fe7;p=mv-sheeva.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 e966092a36f..aff80b190c1 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;