瀏覽代碼

Don't include <linux/config.h> and <linux/linkage.h> from linux/socket.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse 19 年之前
父節點
當前提交
089f26d5e3
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      include/linux/socket.h

+ 0 - 2
include/linux/socket.h

@@ -18,8 +18,6 @@ struct __kernel_sockaddr_storage {
 
 #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
 
-#include <linux/config.h>		/* for CONFIG_COMPAT */
-#include <linux/linkage.h>
 #include <asm/socket.h>			/* arch-dependent defines	*/
 #include <linux/sockios.h>		/* the SIOCxxx I/O controls	*/
 #include <linux/uio.h>			/* iovec support		*/