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:
Daniel P. Berrangé 2020-02-25 10:01:09 +00:00
parent 6eb9bb9cf1
commit 6a38acb3c0
5 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include "virstring.h" #include "virstring.h"
#include "virthreadjob.h" #include "virthreadjob.h"
#include "virtypedparam.h" #include "virtypedparam.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_ADMIN #define VIR_FROM_THIS VIR_FROM_ADMIN

View File

@ -31,6 +31,7 @@
#include "virmodule.h" #include "virmodule.h"
#include "virstring.h" #include "virstring.h"
#include "virthread.h" #include "virthread.h"
#include "virutil.h"
#include "configmake.h" #include "configmake.h"
VIR_LOG_INIT("driver"); VIR_LOG_INIT("driver");

View File

@ -24,6 +24,7 @@
#include "viralloc.h" #include "viralloc.h"
#include "virerror.h" #include "virerror.h"
#include "virstring.h" #include "virstring.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_NONE #define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -39,6 +39,7 @@
#include "virjson.h" #include "virjson.h"
#include "virstorageencryption.h" #include "virstorageencryption.h"
#include "virsecret.h" #include "virsecret.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_STORAGE #define VIR_FROM_THIS VIR_FROM_STORAGE

View File

@ -27,6 +27,7 @@
#include "viralloc.h" #include "viralloc.h"
#include "virfile.h" #include "virfile.h"
#include "virlog.h" #include "virlog.h"
#include "virutil.h"
#include "virlockspace.h" #include "virlockspace.h"