diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-10-13 15:59:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-14 13:23:27 -0400 |
commit | 56f26f7b78af36d0f048a9403084870d2ffb549f (patch) | |
tree | 0d15550377d5cec7379c76a0158e3536eb5dc94d /net | |
parent | fff11c0c827c88f1bca0e475fcd4d319ff44c0ac (diff) |
net/rfkill/rfkill-input.c needs <linux/sched.h>
For some m68k configs, I get:
| net/rfkill/rfkill-input.c: In function 'rfkill_start':
| net/rfkill/rfkill-input.c:208: error: dereferencing pointer to incomplete type
As the incomplete type is `struct task_struct', including <linux/sched.h> fixes
it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/rfkill/rfkill-input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rfkill/rfkill-input.c b/net/rfkill/rfkill-input.c index e5b69556bb5b..21124ec0a73d 100644 --- a/net/rfkill/rfkill-input.c +++ b/net/rfkill/rfkill-input.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/workqueue.h> | 16 | #include <linux/workqueue.h> |
17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | #include <linux/rfkill.h> | 18 | #include <linux/rfkill.h> |
19 | #include <linux/sched.h> | ||
19 | 20 | ||
20 | #include "rfkill-input.h" | 21 | #include "rfkill-input.h" |
21 | 22 | ||