* uml: remove warnings added by previous -stable patch
@ 2006-10-17 15:05 Paolo 'Blaisorblade' Giarrusso
0 siblings, 0 replies; only message in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2006-10-17 15:05 UTC (permalink / raw)
To: stable
Cc: Jeff Dike, linux-kernel, user-mode-linux-devel,
Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
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>
Index: linux-2.6.18/arch/um/os-Linux/sys-i386/tls.c
===================================================================
--- linux-2.6.18.orig/arch/um/os-Linux/sys-i386/tls.c
+++ linux-2.6.18/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"
Index: linux-2.6.18/arch/um/os-Linux/tls.c
===================================================================
--- linux-2.6.18.orig/arch/um/os-Linux/tls.c
+++ linux-2.6.18/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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-17 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-17 15:05 uml: remove warnings added by previous -stable patch Paolo 'Blaisorblade' Giarrusso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®