X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgai_strerror.c;h=d97b858be6f06166f6e2510d8bcf960d9ae11708;hb=1c01f30b6b6a4b087e613f7122095058bfa36c54;hp=eb30d98334121a9bc7d4642251a6c2b24de1504e;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/gai_strerror.c b/lib/gai_strerror.c index eb30d9833..d97b858be 100644 --- a/lib/gai_strerror.c +++ b/lib/gai_strerror.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell , 1997. @@ -16,13 +16,22 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifndef _LIBC +# include "getaddrinfo.h" +#endif + #include -#include +#ifdef HAVE_NETDB_H +# include +#endif #ifdef _LIBC # include #else -# include "getaddrinfo.h" # include "gettext.h" # define _(String) gettext (String) # define N_(String) String