[libvirt] [PATCH 12/17] include netinet etc #ifndef HAVE_WINSOCK2_H

Daniel P. Berrange berrange at redhat.com
Tue Oct 28 11:38:34 UTC 2008


On Tue, Oct 28, 2008 at 12:21:29PM +0100, Jim Meyering wrote:
> From: Jim Meyering <meyering at redhat.com>
> 
> ---
>  src/remote_internal.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/src/remote_internal.c b/src/remote_internal.c
> index 08d42a9..703ebf8 100644
> --- a/src/remote_internal.c
> +++ b/src/remote_internal.c
> @@ -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


ACK, if we also kill off socketcompat.h

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list