]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: include memory.h even if WITH_VIRTUALPORT isn't defined
authorLaine Stump <laine@laine.org>
Wed, 15 Aug 2012 15:45:26 +0000 (11:45 -0400)
committerLaine Stump <laine@laine.org>
Wed, 15 Aug 2012 15:50:03 +0000 (11:50 -0400)
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

index e686fd961b3b6b6aabea2c3685e889751a3e689a..f3f53c9b78c12c7f5f3b822db5e0f5ef60d6d382 100644 (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"