From c70a54e290ea07f2ac94169b15aa1919dcb28028 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 20 Oct 2008 14:00:31 +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 402e2d6a1..2cf7e6221 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,10 @@ 2008-10-20 Simon Josefsson + * lib/canon-host.c: Include netdb.h instead of getaddrinfo.h. + +2008-10-20 Simon Josefsson + * 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 b5aa1b781..df9cbbfb2 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 . @@ -22,8 +22,7 @@ #include "canon-host.h" #include - -#include "getaddrinfo.h" +#include /* Store the last error for the single-threaded version of this function. */ static int last_cherror; -- 2.11.0