]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix undefined reference to 'close_used_without_including_unistd_h'
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 22 Dec 2009 02:06:57 +0000 (03:06 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 22 Dec 2009 12:04:50 +0000 (13:04 +0100)
commit457d4ad99d569d26b037f0309c58f3e3ba45fdfe
tree21be480c06baa0c9d157d4bbebb686fe79c58642
parent9501a45fc0245df2d48514e4a3d53f2c012914cf
Fix undefined reference to 'close_used_without_including_unistd_h'

Found while trying to cross-compile libvirt on Fedora 12 for Windows.
gnulib redefines 'close' to 'close_used_without_including_unistd_h'
in sys/socket.h if winsock2.h is present and unistd.h has not been
included before sys/socket.h. Reorder some includes to fix this.
src/conf/network_conf.c
src/remote/remote_driver.c
src/util/util.h