From: David Woodhouse Date: Tue, 25 Apr 2006 13:55:13 +0000 (+0100) Subject: Don't include from user-visible part of linux/sem.h X-Git-Tag: v2.6.18-rc1~1103^2~49 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ffbc759a5b655feb69435c4dfa857c391f9dcc8;p=linux-2.6 Don't include from user-visible part of linux/sem.h Signed-off-by: David Woodhouse --- diff --git a/include/linux/sem.h b/include/linux/sem.h index 3c1f1120fe..9aaffb0b1d 100644 --- a/include/linux/sem.h +++ b/include/linux/sem.h @@ -2,7 +2,6 @@ #define _LINUX_SEM_H #include -#include /* semop flags */ #define SEM_UNDO 0x1000 /* undo the operation on exit */ @@ -78,6 +77,7 @@ struct seminfo { #define SEMUSZ 20 /* sizeof struct sem_undo */ #ifdef __KERNEL__ +#include struct task_struct;