]> err.no Git - linux-2.6/commitdiff
Don't include <linux/list.h> from user-visible part of linux/msg.h
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 13:26:46 +0000 (14:26 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 13:26:46 +0000 (14:26 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/msg.h

index 903e0ab8101fad230721c7ecd27653b413a5d058..acc7c174ff0091aeb8f46bed30e378633c48ef21 100644 (file)
@@ -2,7 +2,6 @@
 #define _LINUX_MSG_H
 
 #include <linux/ipc.h>
-#include <linux/list.h>
 
 /* ipcs ctl commands */
 #define MSG_STAT 11
@@ -63,6 +62,7 @@ struct msginfo {
 #define MSGSEG (__MSGSEG <= 0xffff ? __MSGSEG : 0xffff)
 
 #ifdef __KERNEL__
+#include <linux/list.h>
 
 /* one msg_msg structure for each message */
 struct msg_msg {