diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-19 13:58:17 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-03-19 13:58:17 +0100 |
commit | ed39fd917449e87da736b651102b192510809b06 (patch) | |
tree | f201f2fb7b612e6b6168df8aa867f172bf8fe132 /lib/arpa_inet.in.h | |
parent | 169c6370ea84d5e008159bd555becbba88c79b10 (diff) | |
download | gnulib-ed39fd917449e87da736b651102b192510809b06.tar.gz |
inet_ntop, inet_pton: Simplify.
* modules/inet_ntop (Depends-on): Remove socklen, since sys_socket is
documented to provide socklen_t and we already depend on sys_socket.
* modules/inet_pton (Depends-on): Likewise.
* lib/arpa_inet.in.h: Adjust comment.
Diffstat (limited to 'lib/arpa_inet.in.h')
-rw-r--r-- | lib/arpa_inet.in.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arpa_inet.in.h b/lib/arpa_inet.in.h index 6533c8fdd2..80dcb843e0 100644 --- a/lib/arpa_inet.in.h +++ b/lib/arpa_inet.in.h @@ -27,8 +27,8 @@ # include <features.h> /* for __GLIBC__ */ #endif -/* Gnulib's sys/socket.h is responsible for pulling in winsock2.h etc - under MinGW. +/* Gnulib's sys/socket.h is responsible for defining socklen_t (used below) and + for pulling in winsock2.h etc. under MinGW. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include <sys/socket.h> |