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)
commita6c0d0934f0d8d4e32a3e3bca4b503a3e7237470
tree28f87896a658e091a23d18c0036b0130688a7912
parentdee72f8a0c2d4ddb566151b2982d553461339315
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>
net/core/sock.c