nf_conntrack: add include to fix sparse warning

Submitted by stephen hemminger on March 16, 2013, 5 p.m.

Details

Message ID 20130316100028.7c9655ef@nehalam.linuxnetplumber.net
State Accepted
Headers show

Commit Message

stephen hemminger March 16, 2013, 5 p.m.
Include header file to pickup prototype of nf_nat_seq_adjust_hook

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

--
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

Comments

Pablo Neira March 19, 2013, 10:54 p.m.
On Sat, Mar 16, 2013 at 10:00:28AM -0700, Stephen Hemminger wrote:
> Include header file to pickup prototype of nf_nat_seq_adjust_hook

Applied, thanks.
--
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

Patch hide | download patch | download mbox

--- a/net/netfilter/nf_conntrack_core.c	2013-03-07 18:12:53.945286471 -0800
+++ b/net/netfilter/nf_conntrack_core.c	2013-03-16 09:48:42.312411171 -0700
@@ -48,6 +48,7 @@ 
 #include <net/netfilter/nf_conntrack_labels.h>
 #include <net/netfilter/nf_nat.h>
 #include <net/netfilter/nf_nat_core.h>
+#include <net/netfilter/nf_nat_helper.h>
 
 #define NF_CONNTRACK_VERSION	"0.5.0"