[Libguestfs] [libnbd PATCH 2/6] One more VSOCK include fix

Richard W.M. Jones rjones at redhat.com
Mon Jul 19 07:57:42 UTC 2021


On Tue, Jul 13, 2021 at 11:26:04PM +0200, Martin Kletzander wrote:
> This file was forgotten in commit e8ed016c34e1.
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  lib/uri.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/uri.c b/lib/uri.c
> index bcecbad5005a..56f47376ed98 100644
> --- a/lib/uri.c
> +++ b/lib/uri.c
> @@ -32,6 +32,8 @@
>  
>  #ifdef HAVE_LINUX_VM_SOCKETS_H
>  #include <linux/vm_sockets.h>
> +#elif HAVE_SYS_VSOCK_H
> +#include <sys/vsock.h>
>  #endif
>  
>  #include "internal.h"
> -- 
> 2.32.0

ACK

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list