summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-26 16:40:37 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-27 13:40:58 -0400
commitbee95250f015ffc3a6efb99516489e70d1b52da2 (patch)
treea5e841fb1dc6dd6a041755004de6c8d4639a7021 /include
parent9d931dd2ed62c14d7bf7c4c3ab3ef7610c46ca9b (diff)
downloadlinux-3.10-bee95250f015ffc3a6efb99516489e70d1b52da2.tar.gz
linux-3.10-bee95250f015ffc3a6efb99516489e70d1b52da2.tar.bz2
linux-3.10-bee95250f015ffc3a6efb99516489e70d1b52da2.zip
net: Add linux/sysctl.h includes where needed.
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter.h1
-rw-r--r--include/net/net_namespace.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index 7fa95df6014..857f5026ced 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -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
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 3ae491932bc..07a60e8b749 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -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>