提交 014dd112 编写于 作者: A Andrea Bolognani

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.
上级 60f1f108
......@@ -31,6 +31,7 @@
#include "virlog.h"
#include "virstring.h"
#include "virutil.h"
#include "vircommand.h"
#if HAVE_GETIFADDRS
# include <ifaddrs.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册