diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2006-10-17 17:05:31 +0200 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2006-11-03 17:33:48 -0800 |
commit | f3873b8c111b5042869fc8fc4ed966e2b07b07b6 (patch) | |
tree | aecf761586f5b300fada654b78fe116ca4219b0a /arch/um | |
parent | f897855bd1bf3eaefd44c316bb429532630747a6 (diff) |
[PATCH] uml: remove warnings added by previous -stable patch
Add needed includes for syscall() function, also to remove warnings spit out by
GCC; they were added by previous -stable patch, and at least on my system
(Ubuntu x86-64) these warnings do show up.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/os-Linux/sys-i386/tls.c | 2 | ||||
-rw-r--r-- | arch/um/os-Linux/tls.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/um/os-Linux/sys-i386/tls.c b/arch/um/os-Linux/sys-i386/tls.c index 64f547f49fb..8dc6a49cbef 100644 --- a/arch/um/os-Linux/sys-i386/tls.c +++ b/arch/um/os-Linux/sys-i386/tls.c @@ -1,4 +1,6 @@ #include <errno.h> +#include <sys/syscall.h> +#include <unistd.h> #include <linux/unistd.h> #include "sysdep/tls.h" #include "user_util.h" diff --git a/arch/um/os-Linux/tls.c b/arch/um/os-Linux/tls.c index 297f263167f..3385784b905 100644 --- a/arch/um/os-Linux/tls.c +++ b/arch/um/os-Linux/tls.c @@ -1,6 +1,8 @@ #include <errno.h> #include <sys/ptrace.h> +#include <sys/syscall.h> #include <asm/ldt.h> +#include <unistd.h> #include "sysdep/tls.h" #include "uml-config.h" |