From: Jim Meyering Date: Mon, 20 Oct 2008 12:00:31 +0000 (+0200) Subject: canon-host: Include netdb.h instead of getaddrinfo.h. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70a54e290ea07f2ac94169b15aa1919dcb28028;p=pspp canon-host: Include netdb.h instead of getaddrinfo.h. --- diff --git a/ChangeLog b/ChangeLog index 402e2d6a1e..2cf7e62213 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,10 @@ are supported or needed. Reported by Bruno Haible . +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. diff --git a/lib/canon-host.c b/lib/canon-host.c index b5aa1b7819..df9cbbfb2e 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;