netfilter: Fix build failure in nfnetlink_queue_core.c.
authorDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 18:36:06 +0000 (13:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 18:36:06 +0000 (13:36 -0500)
net/netfilter/nfnetlink_queue_core.c: In function 'nfqnl_put_sk_uidgid':
net/netfilter/nfnetlink_queue_core.c:304:35: error: 'TCP_TIME_WAIT' undeclared (first use in this function)
net/netfilter/nfnetlink_queue_core.c:304:35: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [net/netfilter/nfnetlink_queue_core.o] Error 1

Just a missing include of net/tcp_states.h

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_queue_core.c

index d3cf12b83174df36496fd4554519dc5663d3413f..b5e1f82890df72c8e9f73dfe45713ce0cc41eee4 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/netfilter/nfnetlink_queue.h>
 #include <linux/list.h>
 #include <net/sock.h>
+#include <net/tcp_states.h>
 #include <net/netfilter/nf_queue.h>
 #include <net/netns/generic.h>
 #include <net/netfilter/nfnetlink_queue.h>