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:
Laine Stump 2012-08-15 11:45:26 -04:00
parent f376d24e79
commit 5faff3d3fd

View File

@ -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"