Commit 77597ad6 authored by David Woodhouse's avatar David Woodhouse

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

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 58908d09
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#define _LINUX_MSG_H #define _LINUX_MSG_H
#include <linux/ipc.h> #include <linux/ipc.h>
#include <linux/list.h>
/* ipcs ctl commands */ /* ipcs ctl commands */
#define MSG_STAT 11 #define MSG_STAT 11
...@@ -63,6 +62,7 @@ struct msginfo { ...@@ -63,6 +62,7 @@ struct msginfo {
#define MSGSEG (__MSGSEG <= 0xffff ? __MSGSEG : 0xffff) #define MSGSEG (__MSGSEG <= 0xffff ? __MSGSEG : 0xffff)
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/list.h>
/* one msg_msg structure for each message */ /* one msg_msg structure for each message */
struct msg_msg { struct msg_msg {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment