|
From: | Stefan Weil |
Subject: | Re: [Qemu-devel] [PATCH 3/4] fix implicit declaration of syscall() in linux-user/syscall.c |
Date: | Mon, 10 Dec 2012 18:49:19 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121027 Iceowl/1.0b1 Icedove/3.0.11 |
Am 10.12.2012 07:59, schrieb John Spencer:
Signed-off-by: John Spencer<address@hidden> --- linux-user/syscall.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 31d5276..fabbcd7 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -39,6 +39,7 @@ #include<sys/resource.h> #include<sys/mman.h> #include<sys/swap.h> +#include<sys/syscall.h> #include<signal.h> #include<sched.h> #ifdef __ia64__
This is a workaround for a missing declaration of function syscall in musl's unistd.h. See my comment to patch 1 for more information.
[Prev in Thread] | Current Thread | [Next in Thread] |