]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Compilation fix for MinGW(w/ LXC)
authorAtsushi SAKAI <sakaia@jp.fujitsu.com>
Mon, 30 Jun 2008 05:11:13 +0000 (05:11 +0000)
committerAtsushi SAKAI <sakaia@jp.fujitsu.com>
Mon, 30 Jun 2008 05:11:13 +0000 (05:11 +0000)
ChangeLog
src/veth.c

index d91e5d1eaf2fa83b2b74e0e4e21f2272efe7784a..3104faa3c8eaac3511979a77678d5a8e41591dd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 30 14:07:56 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
+
+       Compilation fix for MinGW
+       * src/veth.c: add WITH_LXC ifdef
+
 Thu Jun 26 19:51:19 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com> 
 
        fix make syntax-check
index e5e986b614c4a8ec05f7ed7e67a6d6a0b844e87d..c37f638df69504ccb90771d69bc2f85beaab6bb7 100644 (file)
@@ -11,6 +11,8 @@
 
 #include <config.h>
 
+#ifdef WITH_LXC
+
 #include <string.h>
 
 #include "veth.h"
@@ -215,3 +217,4 @@ error_out:
     VIR_FREE(pid);
     return rc;
 }
+#endif