From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq7RF-0006WW-Pd for qemu-devel@nongnu.org; Fri, 30 Sep 2016 19:42:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq7RA-0000wb-SL for qemu-devel@nongnu.org; Fri, 30 Sep 2016 19:41:57 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq7RA-0000wA-L6 for qemu-devel@nongnu.org; Fri, 30 Sep 2016 19:41:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2731A209A0 for ; Sat, 1 Oct 2016 01:41:52 +0200 (CEST) Date: Fri, 30 Sep 2016 19:39:59 -0400 From: Felix Janda Message-ID: <20160930233959.GB5887@nyan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] linux-user: include for F_EXLCK and F_SHLCK List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio The F_EXLCK and F_SHLCK fcntl lock constants are obsolete synonyms for F_WRLCK and F_RDLCK. Include to fix compilation with the musl c library, which does not expose these constants. Signed-off-by: Felix Janda --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 0815f30..3d1f694 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -107,6 +107,7 @@ int __clone2(int (*fn)(void *), void *child_stack_base, #include #endif #include +#include #include "linux_loop.h" #include "uname.h" -- 2.7.3