浏览代码

Don't include <linux/stringify> from user-visible part of linux/net.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse 19 年之前
父节点
当前提交
eacf17bdbc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/net.h

+ 1 - 1
include/linux/net.h

@@ -20,7 +20,6 @@
 
 
 #include <linux/config.h>
 #include <linux/config.h>
 #include <linux/wait.h>
 #include <linux/wait.h>
-#include <linux/stringify.h>
 #include <asm/socket.h>
 #include <asm/socket.h>
 
 
 struct poll_table_struct;
 struct poll_table_struct;
@@ -57,6 +56,7 @@ typedef enum {
 #define __SO_ACCEPTCON	(1 << 16)	/* performed a listen		*/
 #define __SO_ACCEPTCON	(1 << 16)	/* performed a listen		*/
 
 
 #ifdef __KERNEL__
 #ifdef __KERNEL__
+#include <linux/stringify.h>
 
 
 #define SOCK_ASYNC_NOSPACE	0
 #define SOCK_ASYNC_NOSPACE	0
 #define SOCK_ASYNC_WAITDATA	1
 #define SOCK_ASYNC_WAITDATA	1