Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

+1 -1
+1 -1
include/linux/msg.h
··· 2 2 #define _LINUX_MSG_H 3 3 4 4 #include <linux/ipc.h> 5 - #include <linux/list.h> 6 5 7 6 /* ipcs ctl commands */ 8 7 #define MSG_STAT 11 ··· 62 63 #define MSGSEG (__MSGSEG <= 0xffff ? __MSGSEG : 0xffff) 63 64 64 65 #ifdef __KERNEL__ 66 + #include <linux/list.h> 65 67 66 68 /* one msg_msg structure for each message */ 67 69 struct msg_msg {