From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThxMM-0000i1-9k for qemu-devel@nongnu.org; Mon, 10 Dec 2012 02:01:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThxMG-0005TD-2Z for qemu-devel@nongnu.org; Mon, 10 Dec 2012 02:01:02 -0500 From: John Spencer Date: Mon, 10 Dec 2012 07:59:43 +0100 Message-Id: <1355122786-29243-1-git-send-email-maillist-qemu@barfooze.de> Subject: [Qemu-devel] [PATCH 1/4] fix implicit declaration of syscall() in linux-user/mmap.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org Cc: qemu-devel@nongnu.org, John Spencer on glibc, this header is getting pulled in automatically via another header, however on musl we need to include it explicitly. linux-user/mmap.c:705:9: warning: implicit declaration of function 'syscall' linux-user/mmap.c:705:9: warning: nested extern declaration of 'syscall' Signed-off-by: John Spencer --- linux-user/mmap.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/linux-user/mmap.c b/linux-user/mmap.c index b412e3f..171b449 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include -- 1.7.3.4