From mboxrd@z Thu Jan 1 00:00:00 1970 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) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 6 Jun 2016 14:02:06 +0200 Message-Id: <1465214526-16096-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] os-posix: include sys/mman.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org 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 --- 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 -- 2.5.5