提交 8d9c7a93 编写于 作者: E Eric Blake

build: fix compilation without macvtap

* src/util/macvtap.c: (associatePortProfileId)
(disassociatePortProfileId): Move inside HAVE_MACVTAP
conditional.
Reported by Eduardo Otubo.
上级 572c6cc1
...@@ -718,8 +718,6 @@ delMacvtap(const char *ifname, ...@@ -718,8 +718,6 @@ delMacvtap(const char *ifname,
} }
} }
#endif
/** /**
* associatePortProfile * associatePortProfile
...@@ -801,3 +799,5 @@ disassociatePortProfileId(const char *macvtap_ifname, ...@@ -801,3 +799,5 @@ disassociatePortProfileId(const char *macvtap_ifname,
return rc; return rc;
} }
#endif /* WITH_MACVTAP */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册