[libvirt] [PATCH] build: fix build on mingw with netcf available

2012-01-11 Thread Eric Blake
The autobuilder pointed out an odd failure on mingw: ../../src/interface/netcf_driver.c:644:5: error: unknown field 'close_used_without_including_unistd_h' specified in initializer cc1: warnings being treated as errors This is because the gnulib headers #define close in order to work around some

Re: [libvirt] [PATCH] build: fix build on mingw with netcf available

2012-01-11 Thread Daniel P. Berrange
On Wed, Jan 11, 2012 at 07:09:37AM -0700, Eric Blake wrote: The autobuilder pointed out an odd failure on mingw: ../../src/interface/netcf_driver.c:644:5: error: unknown field 'close_used_without_including_unistd_h' specified in initializer cc1: warnings being treated as errors This is

Re: [libvirt] [PATCH] build: fix build on mingw with netcf available

2012-01-11 Thread Eric Blake
On 01/11/2012 07:16 AM, Daniel P. Berrange wrote: On Wed, Jan 11, 2012 at 07:09:37AM -0700, Eric Blake wrote: The autobuilder pointed out an odd failure on mingw: ../../src/interface/netcf_driver.c:644:5: error: unknown field 'close_used_without_including_unistd_h' specified in initializer