]> xenbits.xensource.com Git - libvirt.git/commitdiff
include netinet etc #ifndef HAVE_WINSOCK2_H
authorJim Meyering <meyering@redhat.com>
Tue, 28 Oct 2008 17:47:45 +0000 (17:47 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 28 Oct 2008 17:47:45 +0000 (17:47 +0000)
ChangeLog
src/remote_internal.c

index 06a922626717f810ffdadedf9082b2a086b662bf..5caf36829ac002509773cf74680c0ea8693be26e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>
+
+       include netinet etc #ifndef HAVE_WINSOCK2_H
+
 Tue Oct 28 13:29:13 +0100 2008 Jim Meyering <meyering@redhat.com>
 
        * src/remote_internal.c (remoteFindDaemonPath) [!WIN32]: Don't compile.
index c483ebf621cb3bc755d348dc81578d8b8f3cb821..e6dcfcfe066fd3f492d7e1bd3039d5417e70716e 100644 (file)
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#ifndef HAVE_WINSOCK2_H                /* Unix & Cygwin. */
+# include <sys/un.h>
+# include <net/if.h>
+# include <netinet/in.h>
+# include <netinet/tcp.h>
+#endif
+
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif