[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 05/17] adapt to API change in gnulib



On Tue, Oct 28, 2008 at 12:21:21PM +0100, Jim Meyering wrote:
> From: Jim Meyering <meyering redhat com>
> 
> * qemud/qemud.c: Include <netdb.h>, not "getaddrinfo.h"
> * src/remote_internal.c: Likewise.

> ---
>  qemud/qemud.c         |    2 +-
>  src/remote_internal.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/qemud/qemud.c b/qemud/qemud.c
> index b98e55a..b804c3b 100644
> --- a/qemud/qemud.c
> +++ b/qemud/qemud.c
> @@ -47,11 +47,11 @@
>  #include <fnmatch.h>
>  #include <grp.h>
>  #include <signal.h>
> +#include <netdb.h>
> 
>  #include "internal.h"
> 
>  #include "qemud.h"
> -#include "getaddrinfo.h"
>  #include "util.h"
>  #include "remote_internal.h"
>  #include "conf.h"
> diff --git a/src/remote_internal.c b/src/remote_internal.c
> index 24f938a..787cfaa 100644
> --- a/src/remote_internal.c
> +++ b/src/remote_internal.c
> @@ -58,7 +58,7 @@
>  #endif
>  #include <libxml/uri.h>
> 
> -#include "getaddrinfo.h"
> +#include <netdb.h>
> 
>  /* AI_ADDRCONFIG is missing on some systems. */
>  #ifndef AI_ADDRCONFIG

ACK

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]