mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
conf: include virnetworkportdef.h in domain_conf.h
Now that this file no longer transitively includes domain_conf.h, it can be included here. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
ab7811db4b
commit
0c37c60f3d
@ -44,6 +44,7 @@
|
||||
#include "virnetdevvportprofile.h"
|
||||
#include "virnetdevbandwidth.h"
|
||||
#include "virnetdevvlan.h"
|
||||
#include "virnetworkportdef.h"
|
||||
#include "virobject.h"
|
||||
#include "device_conf.h"
|
||||
#include "virbitmap.h"
|
||||
@ -3643,11 +3644,6 @@ bool
|
||||
virDomainDefLifecycleActionAllowed(virDomainLifecycle type,
|
||||
virDomainLifecycleAction action);
|
||||
|
||||
// Forward decl to avoid pulling in virnetworkportdef.h because
|
||||
// that pulls in virhostdev.h which pulls in domain_conf.h (evil)
|
||||
typedef struct _virNetworkPortDef virNetworkPortDef;
|
||||
typedef virNetworkPortDef *virNetworkPortDefPtr;
|
||||
|
||||
virNetworkPortDefPtr
|
||||
virDomainNetDefToNetworkPort(virDomainDefPtr dom,
|
||||
virDomainNetDefPtr iface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user