* 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.
+2011-03-19 Paul Eggert <eggert@cs.ucla.edu>
+ Bruno Haible <bruno@clisp.org>
+
+ 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.
+
2011-03-19 Paul Eggert <eggert@cs.ucla.edu>
Bruno Haible <bruno@clisp.org>
# 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>
m4/inet_ntop.m4
Depends-on:
-socklen
sys_socket
arpa_inet
errno
Depends-on:
c-ctype
-socklen
sys_socket
arpa_inet
errno