net: explicitly include <linux/compat.h> in net/core/sock.c
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jul 2020 07:40:27 +0000 (09:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2020 20:01:10 +0000 (13:01 -0700)
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>
net/core/sock.c

index d828bfe1c47dfaab4359de162b0045ac86f51e7f..6da54eac2b34563d85b12ff43afa2a5fc9a3ae7d 100644 (file)
 #include <linux/static_key.h>
 #include <linux/memcontrol.h>
 #include <linux/prefetch.h>
+#include <linux/compat.h>
 
 #include <linux/uaccess.h>