X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fsem.h;h=9aaffb0b1d81e9ebfee3c9731209a23fac42223e;hb=5a40f09baa3d74e9e6f1bd86a9998a10fbba012a;hp=106f9757339a54aeffc52a440129b5827040c8c1;hpb=9fe66dfd8846706ff11ed7990d06c92644973bd8;p=linux-2.6 diff --git a/include/linux/sem.h b/include/linux/sem.h index 106f975733..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,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 {