diff options
author | Tim Schmielau <tim@physik3.uni-rostock.de> | 2005-11-07 03:59:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:41 -0500 |
commit | 8c65b4a60450590e79a28e9717ceffa9e4debb3f (patch) | |
tree | e0e42b5faee0a1c44746a36d9df7a8fbb2a2c24c /include/linux/sem.h | |
parent | 6fdcc2162285a8fc96ab12ff85086c37bceaa494 (diff) |
[PATCH] fix remaining missing includes
Fix more include file problems that surfaced since I submitted the previous
fix-missing-includes.patch. This should now allow not to include sched.h
from module.h, which is done by a followup patch.
Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sem.h')
-rw-r--r-- | include/linux/sem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h index 106f9757339a..3c1f1120fe88 100644 --- a/include/linux/sem.h +++ b/include/linux/sem.h | |||
@@ -79,6 +79,8 @@ struct seminfo { | |||
79 | 79 | ||
80 | #ifdef __KERNEL__ | 80 | #ifdef __KERNEL__ |
81 | 81 | ||
82 | struct task_struct; | ||
83 | |||
82 | /* One semaphore structure for each semaphore in the system. */ | 84 | /* One semaphore structure for each semaphore in the system. */ |
83 | struct sem { | 85 | struct sem { |
84 | int semval; /* current value */ | 86 | int semval; /* current value */ |