summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sysctl_net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sysctl_net.c b/net/sysctl_net.c
index c5241fcbb966..55538f6b60ff 100644
--- a/net/sysctl_net.c
+++ b/net/sysctl_net.c
@@ -16,6 +16,8 @@
#include <linux/mm.h>
#include <linux/sysctl.h>
+#include <net/sock.h>
+
#ifdef CONFIG_INET
#include <net/ip.h>
#endif