X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgai_strerror.c;h=d97b858be6f06166f6e2510d8bcf960d9ae11708;hb=1c01f30b6b6a4b087e613f7122095058bfa36c54;hp=953f1360f669bc87f5ebe5ec4ff7d781fb36af72;hpb=f34b5ec45f70109f4d3d321ea17f996ff4b1c14d;p=gnulib.git diff --git a/lib/gai_strerror.c b/lib/gai_strerror.c index 953f1360f..d97b858be 100644 --- a/lib/gai_strerror.c +++ b/lib/gai_strerror.c @@ -1,29 +1,37 @@ -/* Copyright (C) 1997, 2001, 2002, 2004 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. - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. - The GNU C Library is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + You should have received a copy of the GNU General Public License + 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