]> Git Repo - qemu.git/commit - hw/usb/redirect.c
usb: Fix compilation for Windows
authorStefan Weil <[email protected]>
Wed, 16 Mar 2016 20:17:19 +0000 (21:17 +0100)
committerGerd Hoffmann <[email protected]>
Fri, 18 Mar 2016 12:13:30 +0000 (13:13 +0100)
commit0ab6d12ffde7e9235a1b9d79437f5bdda5d80cf1
treef613cd01bbcf8d035ed6b2e860e5afafd894d4e0
parent6741d38ad0f2405a6e999ebc9550801b01aca479
usb: Fix compilation for Windows

Mingw-w64 does not provide sys/ioctl.h and Linux builds don't need it,
so remove that include statement.

ERROR is defined by wingdi.h (included via windows.h). Undefine it before
it is redefined to avoid a compiler warning / error.

Signed-off-by: Stefan Weil <[email protected]>
Message-id: 1458159439[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/redirect.c
This page took 0.024868 seconds and 4 git commands to generate.