From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agtI4-0003Eg-Cb for qemu-devel@nongnu.org; Fri, 18 Mar 2016 08:14:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agtI0-00047S-Cx for qemu-devel@nongnu.org; Fri, 18 Mar 2016 08:14:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agtI0-00047O-7U for qemu-devel@nongnu.org; Fri, 18 Mar 2016 08:14:00 -0400 Message-ID: <1458303236.6882.28.camel@redhat.com> From: Gerd Hoffmann Date: Fri, 18 Mar 2016 13:13:56 +0100 In-Reply-To: <1458159439-32322-1-git-send-email-sw@weilnetz.de> References: <1458159439-32322-1-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] usb: Fix compilation for Windows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developer On Mi, 2016-03-16 at 21:17 +0100, Stefan Weil wrote: > Mingw-w64 does not provide sys/ioctl.h and Linux builds don't need it, > so remove that include statement. >=20 > ERROR is defined by wingdi.h (included via windows.h). Undefine it before > it is redefined to avoid a compiler warning / error. >=20 > Signed-off-by: Stefan Weil > --- >=20 > Cygwin now includes Mingw-w64 packages for cross compilation. >=20 > The packages mingw64-x86_64-libusb1.0 and mingw64-x86_64-usbredir > can be used for QEMU builds, but trigger new compiler errors. >=20 > This patch fixes them partially. Added to usb queue. thanks, Gerd