Skip to content

Commit

Permalink
Don't include <linux/list.h> from user-visible part of linux/msg.h
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Apr 25, 2006
1 parent 58908d0 commit 77597ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define _LINUX_MSG_H

#include <linux/ipc.h>
#include <linux/list.h>

/* ipcs ctl commands */
#define MSG_STAT 11
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 77597ad

Please sign in to comment.