X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Finet_pton.h;h=3335cb8cfa1ab072a56a65797fb0230f0ef4518e;hb=e2cf2fc52c5555b25c25171171e82dffdfe95fb1;hp=bc2ee91e31238d7ab85b5d26fab1749b81c38554;hpb=cef62fd4295a59b748877c3928beb342aab758b6;p=gnulib.git diff --git a/lib/inet_pton.h b/lib/inet_pton.h index bc2ee91e3..3335cb8cf 100644 --- a/lib/inet_pton.h +++ b/lib/inet_pton.h @@ -1,10 +1,10 @@ /* Convert internet address from text to binary format. Copyright (C) 2005, 2006 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + 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 Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,17 +12,12 @@ GNU General Public License for more details. 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. */ + along with this program. If not, see . */ #include #include -#if HAVE_NETINET_IN_H -# include -#endif -#if HAVE_ARPA_INET_H -# include -#endif +#include +#include #if !HAVE_DECL_INET_PTON extern int inet_pton (int af, const char *restrict src, void *restrict dst);