Skip to content

Commit a6c0d09

Browse files
Christoph Hellwigdavem330
authored andcommitted
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: 8c918ff ("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>
1 parent dee72f8 commit a6c0d09

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/core/sock.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
#include <linux/static_key.h>
114114
#include <linux/memcontrol.h>
115115
#include <linux/prefetch.h>
116+
#include <linux/compat.h>
116117

117118
#include <linux/uaccess.h>
118119

0 commit comments

Comments
 (0)