From: Laine Stump Date: Wed, 15 Aug 2012 15:45:26 +0000 (-0400) Subject: util: include memory.h even if WITH_VIRTUALPORT isn't defined X-Git-Tag: v0.10.0-rc1~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5faff3d3fd2997634b210f6803604e1df2a83c55;p=thirdparty%2Flibvirt.git 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). --- diff --git a/src/util/virnetdevvportprofile.c b/src/util/virnetdevvportprofile.c index e686fd961b..f3f53c9b78 100644 --- a/src/util/virnetdevvportprofile.c +++ b/src/util/virnetdevvportprofile.c @@ -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"