summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-22 09:40:27 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-22 22:01:10 +0200
commita6c0d0934f0d8d4e32a3e3bca4b503a3e7237470 (patch)
tree28f87896a658e091a23d18c0036b0130688a7912 /net
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff)
downloadlinux-a6c0d0934f0d8d4e32a3e3bca4b503a3e7237470.tar.xz
linux-a6c0d0934f0d8d4e32a3e3bca4b503a3e7237470.zip
net: explicitly include <linux/compat.h> in net/core/sock.c
The buildbot found a config where the header isn't already implicitly pulled in, so add an explicit include as well. Fixes: 8c918ffbbad4 ("net: remove compat_sock_common_{get,set}sockopt") Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index d828bfe1c47d..6da54eac2b34 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -113,6 +113,7 @@
#include <linux/static_key.h>
#include <linux/memcontrol.h>
#include <linux/prefetch.h>
+#include <linux/compat.h>
#include <linux/uaccess.h>