Эх сурвалжийг харах

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>
David S. Miller 14 жил өмнө
parent
commit
bee95250f0

+ 1 - 0
include/linux/netfilter.h

@@ -13,6 +13,7 @@
 #endif
 #endif
 #include <linux/types.h>
 #include <linux/types.h>
 #include <linux/compiler.h>
 #include <linux/compiler.h>
+#include <linux/sysctl.h>
 
 
 /* Responses from hook functions. */
 /* Responses from hook functions. */
 #define NF_DROP 0
 #define NF_DROP 0

+ 1 - 0
include/net/net_namespace.h

@@ -7,6 +7,7 @@
 #include <asm/atomic.h>
 #include <asm/atomic.h>
 #include <linux/workqueue.h>
 #include <linux/workqueue.h>
 #include <linux/list.h>
 #include <linux/list.h>
+#include <linux/sysctl.h>
 
 
 #include <net/netns/core.h>
 #include <net/netns/core.h>
 #include <net/netns/mib.h>
 #include <net/netns/mib.h>