From: Eric Blake Date: Tue, 29 Apr 2008 17:00:46 +0000 (-0600) Subject: Use new header. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38cc8f0a1e64d6a39be9730f99145ac30215552;p=pspp Use new header. * lib/getaddrinfo.c (includes): s/"inet_ntop.h"//. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 418d0bb5a4..766cc3fa08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-29 Eric Blake + + Use new header. + * lib/getaddrinfo.c (includes): s/"inet_ntop.h"//. + 2008-04-29 Jim Meyering Avoid test segfault on x86_64 due to lack of inet_ntop declaration. diff --git a/lib/getaddrinfo.c b/lib/getaddrinfo.c index c7a1ea9a7b..06501f2380 100644 --- a/lib/getaddrinfo.c +++ b/lib/getaddrinfo.c @@ -1,5 +1,5 @@ /* Get address information (partial implementation). - Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006, 2007 Free Software + Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Simon Josefsson . @@ -25,6 +25,9 @@ # include #endif +/* Get inet_ntop. */ +#include + /* Get calloc. */ #include @@ -40,8 +43,6 @@ #define _(String) gettext (String) #define N_(String) String -#include "inet_ntop.h" - /* BeOS has AF_INET, but not PF_INET. */ #ifndef PF_INET # define PF_INET AF_INET