[PATCH 11/12] Compile libvirt under Windows (Cygwin)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AF_INET6 doesn't appear to be supported in Cygwin.  Ho hum.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
Index: qemud/qemud.c
===================================================================
RCS file: /data/cvs/libvirt/qemud/qemud.c,v
retrieving revision 1.62
diff -u -r1.62 qemud.c
--- qemud/qemud.c	21 Nov 2007 23:16:11 -0000	1.62
+++ qemud/qemud.c	24 Nov 2007 15:34:39 -0000
@@ -612,8 +616,10 @@
 
         if (sa.ss_family == AF_INET)
             sock->port = htons(((struct sockaddr_in*)&sa)->sin_port);
+#ifdef AF_INET6
         else if (sa.ss_family == AF_INET6)
             sock->port = htons(((struct sockaddr_in6*)&sa)->sin6_port);
+#endif
         else
             sock->port = -1;
 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]