summaryrefslogtreecommitdiffstats
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
parent9d931dd2ed62c14d7bf7c4c3ab3ef7610c46ca9b (diff)
downloadop-kernel-dev-bee95250f015ffc3a6efb99516489e70d1b52da2.zip
op-kernel-dev-bee95250f015ffc3a6efb99516489e70d1b52da2.tar.gz
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>
-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 7fa95df..857f502 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 3ae4919..07a60e8 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>
OpenPOWER on IntegriCloud