just a quick note: your patch breaks the mingw32 build on winXP. Christian
for d in i386-softmmu; do \ make -C $d all || exit 1 ; \ done make[1]: Entering directory `/home/root/qemu/i386-softmmu' gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I.. -I/home/root/qemu/target-i386 -I/home/root/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/root/qemu/fpu -DHAS_AUDIO -I/home/root/qemu/slirp -c -o vnc.o /home/root/qemu/vnc.c c:/qemu/mingw/home/root/qemu/vnc.c:3:24: sys/socket.h: No such file or directory c:/qemu/mingw/home/root/qemu/vnc.c:4:24: netinet/in.h: No such file or directory c:/qemu/mingw/home/root/qemu/vnc.c:5:25: netinet/tcp.h: No such file or directory c:/qemu/mingw/home/root/qemu/vnc.c: In function `vnc_client_write': c:/qemu/mingw/home/root/qemu/vnc.c:414: error: `ssize_t' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:414: error: (Each undeclared identifier is reported only once c:/qemu/mingw/home/root/qemu/vnc.c:414: error: for each function it appears in.) c:/qemu/mingw/home/root/qemu/vnc.c:414: error: syntax error before "ret" c:/qemu/mingw/home/root/qemu/vnc.c:417: error: `ret' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c: In function `vnc_client_read': c:/qemu/mingw/home/root/qemu/vnc.c:439: error: `ssize_t' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:439: error: syntax error before "ret" c:/qemu/mingw/home/root/qemu/vnc.c:443: error: `ret' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c: In function `vnc_listen_read': c:/qemu/mingw/home/root/qemu/vnc.c:810: error: storage size of `addr' isn't known c:/qemu/mingw/home/root/qemu/vnc.c:811: error: `socklen_t' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:811: error: syntax error before "addrlen" c:/qemu/mingw/home/root/qemu/vnc.c:813: warning: implicit declaration of function `accept' c:/qemu/mingw/home/root/qemu/vnc.c:813: error: `addrlen' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:815: warning: implicit declaration of function `fcntl' c:/qemu/mingw/home/root/qemu/vnc.c:815: error: `F_SETFL' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:815: error: `O_NONBLOCK' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:810: warning: unused variable `addr' c:/qemu/mingw/home/root/qemu/vnc.c: In function `vnc_display_init': c:/qemu/mingw/home/root/qemu/vnc.c:830: error: storage size of `addr' isn't known c:/qemu/mingw/home/root/qemu/vnc.c:853: warning: implicit declaration of function `socket' c:/qemu/mingw/home/root/qemu/vnc.c:853: error: `PF_INET' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:853: error: `SOCK_STREAM' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:859: error: `AF_INET' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:860: warning: implicit declaration of function `htons' c:/qemu/mingw/home/root/qemu/vnc.c:864: warning: implicit declaration of function `setsockopt' c:/qemu/mingw/home/root/qemu/vnc.c:864: error: `SOL_SOCKET' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:864: error: `SO_REUSEADDR' undeclared (first use in this function) c:/qemu/mingw/home/root/qemu/vnc.c:871: warning: implicit declaration of function `bind' c:/qemu/mingw/home/root/qemu/vnc.c:876: warning: implicit declaration of function `listen' c:/qemu/mingw/home/root/qemu/vnc.c:830: warning: unused variable `addr' make[1]: *** [vnc.o] Error 1 make[1]: Leaving directory `/home/root/qemu/i386-softmmu' make: *** [all] Error 1 _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel