Received: from eggs.gnu.org ([208.118.235.92]:59911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrFH1-0000sL-EN for qemu-devel@nongnu.org; Fri, 04 Jan 2013 16:57:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrFGy-0004ov-Hc for qemu-devel@nongnu.org; Fri, 04 Jan 2013 16:57:55 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:47107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrFGy-0004of-BG for qemu-devel@nongnu.org; Fri, 04 Jan 2013 16:57:52 -0500 From: Stefan Weil Date: Fri, 4 Jan 2013 22:57:48 +0100 Message-Id: <1357336668-15518-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] hw/i386: Fix broken build for MinGW List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Lucas Meneghel Rodrigues , Stefan Weil , Marcelo Tosatti , Gerd Hoffmann , qemu-devel@nongnu.org pc-testdev.c cannot be compiled with MinGW: CC i386-softmmu/hw/i386/../pc-testdev.o hw/i386/../pc-testdev.c:38:22: warning: sys/mman.h: file not found hw/i386/../pc-testdev.c: In function =E2=80=98test_flush_page=E2=80=99: hw/i386/../pc-testdev.c:103: warning: implicit declaration of function =E2= =80=98mprotect=E2=80=99 ... Signed-off-by: Stefan Weil --- hw/i386/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs index 025803a..8f17763 100644 --- a/hw/i386/Makefile.objs +++ b/hw/i386/Makefile.objs @@ -12,6 +12,6 @@ obj-$(CONFIG_XEN_PCI_PASSTHROUGH) +=3D xen-host-pci-dev= ice.o obj-$(CONFIG_XEN_PCI_PASSTHROUGH) +=3D xen_pt.o xen_pt_config_init.o xen= _pt_msi.o obj-y +=3D kvm/ obj-$(CONFIG_SPICE) +=3D qxl.o qxl-logger.o qxl-render.o -obj-y +=3D pc-testdev.o +obj-$(CONFIG_KVM) +=3D pc-testdev.o =20 obj-y :=3D $(addprefix ../,$(obj-y)) --=20 1.7.10.4