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

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

parent 58908d09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {