mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
virnetdevbandwidth: Include virutil.h
One of the latest patches (9a8fc3efc2470) 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…
x
Reference in New Issue
Block a user