[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 12/17] include netinet etc #ifndef HAVE_WINSOCK2_H
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Jim Meyering <jim meyering net>
- Cc: libvir-list redhat com, Jim Meyering <meyering redhat com>
- Subject: Re: [libvirt] [PATCH 12/17] include netinet etc #ifndef HAVE_WINSOCK2_H
- Date: Tue, 28 Oct 2008 11:38:34 +0000
On Tue, Oct 28, 2008 at 12:21:29PM +0100, Jim Meyering wrote:
> From: Jim Meyering <meyering 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 :|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]