[Libguestfs] [nbdkit PATCH v2 04/17] Revert "RHEL 5: Define O_CLOEXEC and SOCK_CLOEXEC."

Eric Blake eblake at redhat.com
Fri Aug 2 19:42:59 UTC 2019


On 8/2/19 2:26 PM, Eric Blake wrote:
> This reverts commit 25206df20275aeff346d9b86adf5e9be99cc9e43, and
> temporarily breaks compilation on Haiku which has O_CLOEXEC but lacks
> SOCK_CLOEXEC [1].
> 

> +++ b/common/utils/utils.c
> @@ -36,6 +36,7 @@
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <string.h>
> +#include <sys/socket.h>
>  #include <sys/types.h>
>  #include <sys/wait.h>
>  #include <unistd.h>

Looks like I squashed a hunk into the wrong patch; I think this one
belongs in 5/17.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190802/9ce1d840/attachment.sig>


More information about the Libguestfs mailing list