[PATCH] storage: fix vstorage backend build

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Tue Jul 7 12:00:24 UTC 2020


Add headers with declarations of  geteuid/getegid
and virGetUserName/virGetGroupName.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
---
 src/storage/storage_backend_vstorage.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/storage/storage_backend_vstorage.c b/src/storage/storage_backend_vstorage.c
index 85ab832..6cff9f1 100644
--- a/src/storage/storage_backend_vstorage.c
+++ b/src/storage/storage_backend_vstorage.c
@@ -6,10 +6,12 @@
 #include "storage_backend_vstorage.h"
 #include "virlog.h"
 #include "virstring.h"
+#include "virutil.h"
 #include <mntent.h>
 #include <paths.h>
 #include <pwd.h>
 #include <grp.h>
+#include <unistd.h>
 #include "storage_util.h"
 
 #define VIR_FROM_THIS VIR_FROM_STORAGE
-- 
1.8.3.1




More information about the libvir-list mailing list