FreeBSD has pipe2, so enable it in forkfd.c

Change-Id: Ib056b47dde3341ef9a52ffff13efd1a15748e44d
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
This commit is contained in:
Thiago Macieira 2015-07-10 23:48:16 -07:00
parent 84e1bb4951
commit 007ad9e859

View File

@ -59,6 +59,10 @@
# define HAVE_WAITID 1
#endif
#if defined(__FreeBSD__)
# define HAVE_PIPE2 1
#endif
#if defined(__APPLE__)
/* Up until OS X 10.7, waitid(P_ALL, ...) will return success, but will not
* fill in the details of the dead child. That means waitid is not useful to us.