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

Martin Kletzander mkletzan at redhat.com
Tue Jul 13 21:26:04 UTC 2021


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




More information about the Libguestfs mailing list