mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +00:00
util: include memory.h even if WITH_VIRTUALPORT isn't defined
This caused compilation of virnetdevvportprofile.c to fail on systems without IFLA support in netlink (these are netlink commands used to configure the VF's of SR-IOV network devices).
This commit is contained in:
parent
f376d24e79
commit
5faff3d3fd
@ -24,6 +24,7 @@
|
||||
|
||||
#include "virnetdevvportprofile.h"
|
||||
#include "virterror_internal.h"
|
||||
#include "memory.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NET
|
||||
|
||||
@ -52,7 +53,6 @@ VIR_ENUM_IMPL(virNetDevVPortProfileOp, VIR_NETDEV_VPORT_PROFILE_OP_LAST,
|
||||
|
||||
# include "virnetlink.h"
|
||||
# include "virfile.h"
|
||||
# include "memory.h"
|
||||
# include "logging.h"
|
||||
# include "virnetdev.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user