net: explicitly include <linux/compat.h> in net/core/sock.c
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- net/core/sock.c | 1 + 1 file changed, 1 insertion(+)
net/core/sock.c +1 -0
@@ -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>
Signature · 1 line
2.27.0
From: Christoph Hellwig <[email protected]>
Date: Wed, 22 Jul 2020 09:40:27 +0200
Quoted 5 lines
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 <[email protected]>
Applied.