Don't include <linux/stringify> from user-visible part of linux/net.h
David Woodhouse [Tue, 25 Apr 2006 13:46:09 +0000 (14:46 +0100)]
Signed-off-by: David Woodhouse <dwmw2@infradead.org>

include/linux/net.h

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