netfilter: nf_nat: define nat_pptp_info as needed
authorChangli Gao <xiaosuo@gmail.com>
Mon, 15 Nov 2010 11:27:27 +0000 (12:27 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 15 Nov 2010 11:27:27 +0000 (12:27 +0100)
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_nat.h

index e966092a36f1ef6eacd8207f1060e9f8eea0b309..aff80b190c1231a8eb5cae1b61b34007c833d870 100644 (file)
@@ -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;