Re: [libvirt] [PATCH] build: work around FreeBSD stdlib.h bug

2014-03-11 Thread Eric Blake
On 03/08/2014 09:57 AM, Roman Bogorodskiy wrote: Eric Blake wrote: POSIX requires that stdlib.h expose WIFEXITED and friends, but FreeBSD and others fail to comply. We can work around it manually by including sys/wait.h, or we can work around it automatically by using gnulib's

Re: [libvirt] [PATCH] build: work around FreeBSD stdlib.h bug

2014-03-08 Thread Roman Bogorodskiy
Eric Blake wrote: On 03/07/2014 10:09 AM, Daniel P. Berrange wrote: On Fri, Mar 07, 2014 at 09:56:10AM -0700, Eric Blake wrote: On 03/04/2014 06:59 AM, Eric Blake wrote: On 03/04/2014 06:47 AM, Daniel P. Berrange wrote: On Tue, Mar 04, 2014 at 06:28:17AM -0700, Eric Blake wrote:

Re: [libvirt] [PATCH] build: work around FreeBSD stdlib.h bug

2014-03-07 Thread Eric Blake
On 03/04/2014 06:59 AM, Eric Blake wrote: On 03/04/2014 06:47 AM, Daniel P. Berrange wrote: On Tue, Mar 04, 2014 at 06:28:17AM -0700, Eric Blake wrote: POSIX requires that stdlib.h expose WIFEXITED and friends, but FreeBSD and others fail to comply. We can work around it manually by

Re: [libvirt] [PATCH] build: work around FreeBSD stdlib.h bug

2014-03-07 Thread Daniel P. Berrange
On Fri, Mar 07, 2014 at 09:56:10AM -0700, Eric Blake wrote: On 03/04/2014 06:59 AM, Eric Blake wrote: On 03/04/2014 06:47 AM, Daniel P. Berrange wrote: On Tue, Mar 04, 2014 at 06:28:17AM -0700, Eric Blake wrote: POSIX requires that stdlib.h expose WIFEXITED and friends, but FreeBSD and

Re: [libvirt] [PATCH] build: work around FreeBSD stdlib.h bug

2014-03-07 Thread Eric Blake
On 03/07/2014 10:09 AM, Daniel P. Berrange wrote: On Fri, Mar 07, 2014 at 09:56:10AM -0700, Eric Blake wrote: On 03/04/2014 06:59 AM, Eric Blake wrote: On 03/04/2014 06:47 AM, Daniel P. Berrange wrote: On Tue, Mar 04, 2014 at 06:28:17AM -0700, Eric Blake wrote: POSIX requires that stdlib.h

Re: [libvirt] [PATCH] build: work around FreeBSD stdlib.h bug

2014-03-04 Thread Daniel P. Berrange
On Tue, Mar 04, 2014 at 06:28:17AM -0700, Eric Blake wrote: POSIX requires that stdlib.h expose WIFEXITED and friends, but FreeBSD and others fail to comply. We can work around it manually by including sys/wait.h, or we can work around it automatically by using gnulib's system-posix module.

Re: [libvirt] [PATCH] build: work around FreeBSD stdlib.h bug

2014-03-04 Thread Eric Blake
On 03/04/2014 06:47 AM, Daniel P. Berrange wrote: On Tue, Mar 04, 2014 at 06:28:17AM -0700, Eric Blake wrote: POSIX requires that stdlib.h expose WIFEXITED and friends, but FreeBSD and others fail to comply. We can work around it manually by including sys/wait.h, or we can work around it