mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user