From cef5ff76e2328e696d56d66c096769150f067a9c Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Thu, 6 Nov 2014 15:30:13 +0100 Subject: [PATCH] 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 --- src/util/virnetdevbandwidth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/virnetdevbandwidth.c b/src/util/virnetdevbandwidth.c index 9f2a159a2a..fbd2a8ddc3 100644 --- a/src/util/virnetdevbandwidth.c +++ b/src/util/virnetdevbandwidth.c @@ -28,6 +28,7 @@ #include "viralloc.h" #include "virerror.h" #include "virstring.h" +#include "virutil.h" #define VIR_FROM_THIS VIR_FROM_NONE