When I tried to build the recent SVN version of qemu on my Windows machine
using mingw/msys
I seem to run into a problem with building the nbd file. It complains about
missing headers, then won't build.
gcc -Wall -O2 -g -fno-strict-aliasing -m32 -I.
-I/home/Owner/SoureCode/qemu-svn -MMD -MP -MT nbd.o
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/Owner/SoureCode/qemu-svn/slirp -c -o nbd.o nbd.c
nbd.c:24:23: warning: sys/ioctl.h: No such file or directory
nbd.c:27:24: warning: sys/socket.h: No such file or directory
nbd.c:28:20: warning: sys/un.h: No such file or directory