From patchwork Sat Dec 29 04:17:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: netfilter: add include file to nf_conntrack_snmp.c Date: Fri, 28 Dec 2012 18:17:08 -0000 From: stephen hemminger X-Patchwork-Id: 208615 Message-Id: <20121228201708.77f1c376@nehalam.linuxnetplumber.net> To: Pablo Neira Ayuso , David Miller , netfilter-devel@vger.kernel.org Prototype for nf_nat_snmp_hook is in nf_conntrack_snmp.h therefore it should be included to get type checking. Found by sparse. Signed-off-by: Stephen Hemminger --- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/net/netfilter/nf_conntrack_snmp.c 2012-10-25 09:11:15.711271681 -0700 +++ b/net/netfilter/nf_conntrack_snmp.c 2012-12-28 20:09:04.666030725 -0800 @@ -16,6 +16,7 @@ #include #include #include +#include #define SNMP_PORT 161