mirror of https://gitee.com/openkylin/libvirt.git
virnetdevbandwidth: Include virutil.h
One of the latest patches (9a8fc3efc2
) introduced call of
geteuid(). However, not all systems have the function
implemented, e.g. mingw. Therefore, we fail to build on those
system. The fix consist of including virutil.h which defines
geteuid in needed. Sigh.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6ea54769ba
commit
cef5ff76e2
|
@ -28,6 +28,7 @@
|
|||
#include "viralloc.h"
|
||||
#include "virerror.h"
|
||||
#include "virstring.h"
|
||||
#include "virutil.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
|
Loading…
Reference in New Issue