mirror of https://gitee.com/openkylin/libvirt.git
src: add virutil.h to more source files for geteuid() compat
The virutil.h header defines a geteuid() macro for Windows platforms.
This fixes a few missed cases from:
commit b11e8cccdd
Author: Ján Tomko <jtomko@redhat.com>
Date: Sun Feb 16 23:09:15 2020 +0100
Remove virutil.h from all header files
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
6eb9bb9cf1
commit
6a38acb3c0
|
@ -34,6 +34,7 @@
|
|||
#include "virstring.h"
|
||||
#include "virthreadjob.h"
|
||||
#include "virtypedparam.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_ADMIN
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "virmodule.h"
|
||||
#include "virstring.h"
|
||||
#include "virthread.h"
|
||||
#include "virutil.h"
|
||||
#include "configmake.h"
|
||||
|
||||
VIR_LOG_INIT("driver");
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "viralloc.h"
|
||||
#include "virerror.h"
|
||||
#include "virstring.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "virjson.h"
|
||||
#include "virstorageencryption.h"
|
||||
#include "virsecret.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_STORAGE
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virlog.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#include "virlockspace.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue