On Thu, Mar 31, 2011 at 11:58 PM, Stefan Weil <w...@mail.berlios.de> wrote: > Some recently added new code did not compile for w32 targets. > > The functions qemu_iohandler_fill and qemu_iohandler_poll need > data type fd_set which is declared in winsock2.h for w32 targets. > > Moving the functions from qemu-common.h to qemu_socket.h fixes > compilations for w32 without adding a new include file to qemu-common.h.
There's nothing socket specific in qemu_iohandler_fill and qemu_iohandler_poll, so I'd rather fix qemu-common.h. But I have a patch in my working queue to move OS specific stuff to qemu-common.h, I'll fix this there.