Skip to contentSkip to conversation

uml: remove warnings added by previous -stable patch

PATCH Paolo 'Blaisorblade' Giarrusso 1 participant 1 message Oct 17, 2006 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

From: Paolo 'Blaisorblade' Giarrusso <[email protected]>

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.

arch/um/os-Linux/sys-i386/tls.c +2 -0
Index: 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"
arch/um/os-Linux/tls.c +2 -0
Index: 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"
 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel