diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-01-06 16:29:15 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-06 16:29:15 -0800 |
| commit | 04c736903385b1b6273ca3a32d6ab262acd73725 (patch) | |
| tree | 5bc4135ebb0b0d099fb162722b00fef0d1dca111 /kernel/sys.c | |
| parent | e355932dd4d013088ebf264ee0acccb900c2af22 (diff) | |
[PATCH] x86-64: kernel/sys.c build fix
On x86-64, the attached patch is required to fix
> kernel/sys.c: In function `sys_setsid':
> kernel/sys.c:1078: error: `tty_sem' undeclared (first use in this function)
> kernel/sys.c:1078: error: (Each undeclared identifier is reported only once
> kernel/sys.c:1078: error: for each function it appears in.)
kernel/sys.c needs the tty_sem declaration from linux/tty.h.
Diffstat (limited to 'kernel/sys.c')
| -rw-r--r-- | kernel/sys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index b6829cea8e06..2f41771e42f7 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -23,6 +23,7 @@ #include <linux/security.h> #include <linux/dcookies.h> #include <linux/suspend.h> +#include <linux/tty.h> #include <linux/compat.h> #include <linux/syscalls.h> |
