Re: [Qemu-devel] [PATCH] usb: Support compilation without poll.h

2016-03-19 Thread Gerd Hoffmann
On Mi, 2016-03-16 at 21:22 +0100, Stefan Weil wrote: > This is a hack to support compilation with Mingw-w64 which provides > a libusb-1.0 package, but no poll.h. > > Signed-off-by: Stefan Weil > --- > > I did not test whether this USB host code works on Windows, > but at least it compiles with t

[Qemu-devel] [PATCH] usb: Support compilation without poll.h

2016-03-19 Thread Stefan Weil
This is a hack to support compilation with Mingw-w64 which provides a libusb-1.0 package, but no poll.h. Signed-off-by: Stefan Weil --- I did not test whether this USB host code works on Windows, but at least it compiles with this hack. Suggestions for a better fix are welcome. Regards, Stefan