mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
include netinet etc #ifndef HAVE_WINSOCK2_H
This commit is contained in:
parent
78d4d969e2
commit
2bbf76ebeb
@ -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.
|
||||
|
@ -36,6 +36,13 @@
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user