net: Add linux/sysctl.h includes where needed.
authorDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2011 20:40:37 +0000 (16:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 May 2011 17:40:58 +0000 (13:40 -0400)
Several networking headers were depending upon the implicit
linux/sysctl.h include they get when including linux/net.h

Add explicit includes.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
include/net/net_namespace.h

index 7fa95df60146f2920cf89e2163289017230a91a6..857f5026ced65267ad77db343be0f486cb61a7d5 100644 (file)
@@ -13,6 +13,7 @@
 #endif
 #include <linux/types.h>
 #include <linux/compiler.h>
+#include <linux/sysctl.h>
 
 /* Responses from hook functions. */
 #define NF_DROP 0
index 3ae491932bc80305909f278864c370e0f6e689df..07a60e8b749ed876f2e4ffa229ebdd2d674d6c42 100644 (file)
@@ -7,6 +7,7 @@
 #include <asm/atomic.h>
 #include <linux/workqueue.h>
 #include <linux/list.h>
+#include <linux/sysctl.h>
 
 #include <net/netns/core.h>
 #include <net/netns/mib.h>