X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fsem.h;h=9aaffb0b1d81e9ebfee3c9731209a23fac42223e;hb=2e27afb300b56d83bb03fbfa68852b9c1e2920c6;hp=106f9757339a54aeffc52a440129b5827040c8c1;hpb=4e0c1159d83a658d1ffba5bc3442f4ec4cadb436;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/sem.h b/include/linux/sem.h index 106f9757339..9aaffb0b1d8 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,9 @@ struct seminfo { #define SEMUSZ 20 /* sizeof struct sem_undo */ #ifdef __KERNEL__ +#include + +struct task_struct; /* One semaphore structure for each semaphore in the system. */ struct sem {