From 5faff3d3fd2997634b210f6803604e1df2a83c55 Mon Sep 17 00:00:00 2001 From: Laine Stump Date: Wed, 15 Aug 2012 11:45:26 -0400 Subject: [PATCH] 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). --- src/util/virnetdevvportprofile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"