aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-xhci.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-16 21:17:19 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-03-18 13:13:30 +0100
commit0ab6d12ffde7e9235a1b9d79437f5bdda5d80cf1 (patch)
treef613cd01bbcf8d035ed6b2e860e5afafd894d4e0 /hw/usb/hcd-xhci.c
parent6741d38ad0f2405a6e999ebc9550801b01aca479 (diff)
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 <sw@weilnetz.de> Message-id: 1458159439-32322-1-git-send-email-sw@weilnetz.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-xhci.c')
0 files changed, 0 insertions, 0 deletions