The virutil.h header defines a geteuid() macro for Windows platforms.
This fixes a few missed cases from:
commit
b11e8cccdd5163727fd4cecda0076ac2b63fe32d
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>
#include "virstring.h"
#include "virthreadjob.h"
#include "virtypedparam.h"
+#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_ADMIN
#include "virmodule.h"
#include "virstring.h"
#include "virthread.h"
+#include "virutil.h"
#include "configmake.h"
VIR_LOG_INIT("driver");
#include "viralloc.h"
#include "virerror.h"
#include "virstring.h"
+#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_NONE
#include "virjson.h"
#include "virstorageencryption.h"
#include "virsecret.h"
+#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_STORAGE
#include "viralloc.h"
#include "virfile.h"
#include "virlog.h"
+#include "virutil.h"
#include "virlockspace.h"