提交 6a38acb3 编写于 作者: D Daniel P. Berrangé

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 b11e8ccc
  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: NDaniel P. Berrangé <berrange@redhat.com>
上级 6eb9bb9c
...@@ -34,6 +34,7 @@ ...@@ -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
......
...@@ -31,6 +31,7 @@ ...@@ -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");
......
...@@ -24,6 +24,7 @@ ...@@ -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
......
...@@ -39,6 +39,7 @@ ...@@ -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
......
...@@ -27,6 +27,7 @@ ...@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册