From patchwork Mon Jun 6 12:02:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 9157987 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A921B607FD for ; Mon, 6 Jun 2016 12:02:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AF5625218 for ; Mon, 6 Jun 2016 12:02:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FC40252D5; Mon, 6 Jun 2016 12:02:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3D7BC2665D for ; Mon, 6 Jun 2016 12:02:45 +0000 (UTC) Received: from localhost ([::1]:41782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9tEy-0007vy-Cm for patchwork-qemu-devel@patchwork.kernel.org; Mon, 06 Jun 2016 08:02:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9tEW-0007tt-2z for qemu-devel@nongnu.org; Mon, 06 Jun 2016 08:02:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9tES-0003PQ-2H for qemu-devel@nongnu.org; Mon, 06 Jun 2016 08:02:15 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:36470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9tER-0003PL-SJ for qemu-devel@nongnu.org; Mon, 06 Jun 2016 08:02:12 -0400 Received: by mail-wm0-x244.google.com with SMTP id m124so14812341wme.3 for ; Mon, 06 Jun 2016 05:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=EBdnEKCruFtNYz7yE320EIKVrj9pqv849oquMkhJM3U=; b=L8ODXp+dKSnRQjWVKKMUT3HgxoH3ChOgIDHe6HrHmM61+mt/mcQjRJD83HnwJTheah a8/1yqIeWWvUGLr2WtGksEcrD7nY6v8gJZ0RjRonA/38BOwY4NxLNy+yxwyry+D0+a9d //vlbdSDsmp3o3N5UK6SkO1iOKiwk6+5oz//DkqBNEG36cbzsATum1SzSv0mxIj+rbG5 5ncZkdNRjY0isK4VEZtHCtP22jyQH0TLsEA3fI/N2OwyN9hBYcWDG+p9JdJGU30FlW3r oyawwmbHCVZzvWIiI7oJISDkXawLNhzy9mAilOA3Xam3YMXMK4gUgNdMwaOjI1PrbSeY Yn4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=EBdnEKCruFtNYz7yE320EIKVrj9pqv849oquMkhJM3U=; b=D5stdZpC1yTsKNzHNlTw6cyo9pxEdS9NzDdzzjzxyYR/NaPsvwTSOfGVpvt9sp27VU giCxNlnM7qxWhelXlDbJznQIrvzQ2MyVq7e72RtKEH8AzhAMwBO4/lmp1vIgypdno1ue iPsGBiQXZSiPAbiAincKjvfpf2czEoBF8xu7Z0Y/5Rws9/iuxnbGfs2HveWet6Aapy7H dhE7DMh7lgvO7OYIyfTp+HcEo2s+/fNa1G42o/cT/PoKhrspNHl30zgJDw4DlEhdgBtm rcIIRaQfmcyV0kVHfHOClUlVfbsV3242GIXDbewAShzeRqiGy4dFmS8Wm90dp045UOFU 3Grg== X-Gm-Message-State: ALyK8tJKxRUPZWPucsG2hf4PqW7vYmY5kuu9CzVrVTy69iQjqvIv6zZZlQ4ULCiqKOKgQA== X-Received: by 10.28.226.133 with SMTP id z127mr11581147wmg.98.1465214531209; Mon, 06 Jun 2016 05:02:11 -0700 (PDT) Received: from donizetti.lan (94-39-188-118.adsl-ull.clienti.tiscali.it. [94.39.188.118]) by smtp.gmail.com with ESMTPSA id vv1sm11131044wjc.34.2016.06.06.05.02.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jun 2016 05:02:10 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 6 Jun 2016 14:02:06 +0200 Message-Id: <1465214526-16096-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 2.5.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PATCH] os-posix: include sys/mman.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP qemu/osdep.h checks whether MAP_ANONYMOUS is defined, but this check is bogus without a previous include of sys/mman.h. Signed-off-by: Paolo Bonzini Reviewed-by: Peter Maydell --- include/sysemu/os-posix.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h index 07e3e5a..9c7dfdf 100644 --- a/include/sysemu/os-posix.h +++ b/include/sysemu/os-posix.h @@ -26,6 +26,7 @@ #ifndef QEMU_OS_POSIX_H #define QEMU_OS_POSIX_H +#include #include #include #include