Jim, the canon-host module needs this patch to work with the latest changes in the getaddrinfo module.
/Simon >From d6843ea1869f2c5762179de1699c0c12d357277a Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[EMAIL PROTECTED]> Date: Mon, 20 Oct 2008 09:59:07 +0200 Subject: [PATCH] canon-host: Include netdb.h instead of getaddrinfo.h. --- ChangeLog | 4 ++++ lib/canon-host.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 808510e..a69fb9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-10-20 Simon Josefsson <[EMAIL PROTECTED]> + * lib/canon-host.c: Include netdb.h instead of getaddrinfo.h. + +2008-10-20 Simon Josefsson <[EMAIL PROTECTED]> + * lib/getaddrinfo.h: Remove file. * modules/getaddrinfo: Reflect move from getaddrinfo.h to netdb.h. * m4/getaddrinfo.m4: Call gl_HEADER_NETDB. Don't check for netdb.h. diff --git a/lib/canon-host.c b/lib/canon-host.c index b5aa1b7..df9cbbf 100644 --- a/lib/canon-host.c +++ b/lib/canon-host.c @@ -1,6 +1,6 @@ /* Host name canonicalization - Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Written by Derek Price <[EMAIL PROTECTED]>. @@ -22,8 +22,7 @@ #include "canon-host.h" #include <string.h> - -#include "getaddrinfo.h" +#include <netdb.h> /* Store the last error for the single-threaded version of this function. */ static int last_cherror; -- 1.5.6.5