mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-16 18:25:08 -06: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>
|
Tue Oct 28 13:29:13 +0100 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
* src/remote_internal.c (remoteFindDaemonPath) [!WIN32]: Don't compile.
|
* src/remote_internal.c (remoteFindDaemonPath) [!WIN32]: Don't compile.
|
||||||
|
@ -36,6 +36,13 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.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
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user