]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
storage: fix vstorage backend build
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Tue, 7 Jul 2020 11:58:17 +0000 (14:58 +0300)
committerNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Mon, 13 Jul 2020 06:27:42 +0000 (09:27 +0300)
Add headers with declarations of  geteuid/getegid
and virGetUserName/virGetGroupName.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/storage/storage_backend_vstorage.c

index 85ab8325ceeb279d77f3091d40c99437a24b1322..6cff9f1bfe5411fbcfd45bdffd68a2968399e7fa 100644 (file)
@@ -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