X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnulib%2Fgai_strerror.c;h=c05b5c47ee392272fa7ca64b9b001503ee219cb6;hb=911bfb4415195b5c0a98b8c957caa8968313fd81;hp=9e4abbe6db935849b080636b863faec499ecc848;hpb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;p=debian%2Famanda diff --git a/gnulib/gai_strerror.c b/gnulib/gai_strerror.c index 9e4abbe..c05b5c4 100644 --- a/gnulib/gai_strerror.c +++ b/gnulib/gai_strerror.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006, 2008, 2009, 2010 Free + Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell , 1997. @@ -18,13 +19,10 @@ #ifndef _LIBC # include -# include "getaddrinfo.h" #endif #include -#ifdef HAVE_NETDB_H -# include -#endif +#include #ifdef _LIBC # include @@ -53,7 +51,7 @@ values[] = { EAI_SOCKTYPE, N_("ai_socktype not supported") }, { EAI_SYSTEM, N_("System error") }, { EAI_OVERFLOW, N_("Argument buffer too small") }, -#ifdef __USE_GNU +#ifdef EAI_INPROGRESS { EAI_INPROGRESS, N_("Processing request in progress") }, { EAI_CANCELED, N_("Request canceled") }, { EAI_NOTCANCELED, N_("Request not canceled") },