[libvirt] [PATCH] build: fix compilation without macvtap

25 May
2010
25 May
'10
6:46 p.m.
* src/util/macvtap.c: (associatePortProfileId) (disassociatePortProfileId): Move inside HAVE_MACVTAP conditional. Reported by Eduardo Otubo --- Pushing as trivial, to fix the build. src/util/macvtap.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/macvtap.c b/src/util/macvtap.c index 715f329..4f8c95a 100644 --- a/src/util/macvtap.c +++ b/src/util/macvtap.c @@ -718,8 +718,6 @@ delMacvtap(const char *ifname, } } -#endif - /** * associatePortProfile @@ -801,3 +799,5 @@ disassociatePortProfileId(const char *macvtap_ifname, return rc; } + +#endif /* WITH_MACVTAP */ -- 1.7.0.1
5584
Age (days ago)
5584
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric Blake