From 014dd11291940e9913ef97588ba5b38370579e51 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 27 Jun 2016 10:33:00 +0200 Subject: [PATCH] util: netdevip: Include vircommand.h Not including the header causes util/virnetdevip.c:520:5: error: unknown type name 'virCommandPtr'; did you mean 'virCondPtr'? virCommandPtr cmd = NULL; ^~~~~~~~~~~~~ and plenty more similar failures when compiling on FreeBSD. --- src/util/virnetdevip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/virnetdevip.c b/src/util/virnetdevip.c index 0663e14e90..20f3ae1d48 100644 --- a/src/util/virnetdevip.c +++ b/src/util/virnetdevip.c @@ -31,6 +31,7 @@ #include "virlog.h" #include "virstring.h" #include "virutil.h" +#include "vircommand.h" #if HAVE_GETIFADDRS # include