summaryrefslogtreecommitdiff
path: root/modules/recvfrom
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-01-27 10:57:59 +0100
committerBruno Haible <bruno@clisp.org>2018-01-27 10:57:59 +0100
commitd4f6a210f44a2bbfedfc60353758c39fb86f8d7a (patch)
treee6c770cbb8e03e9cd4f379f1a04cd349bf17ea12 /modules/recvfrom
parent46e7ff4afee45c1b2b52849bd36b3b258417ec51 (diff)
downloadgnulib-d4f6a210f44a2bbfedfc60353758c39fb86f8d7a.tar.gz
Fix malfunction of socket functions on HP-UX in 64-bit mode.
* m4/socketlib.m4 (gl_SOCKETLIB): Add comment. * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Define _HPUX_ALT_XOPEN_SOCKET_API. * modules/accept (Depends-on): Add 'extensions'. * modules/getpeername (Depends-on): Likewise. * modules/getsockname (Depends-on): Likewise. * modules/getsockopt (Depends-on): Likewise. * modules/recvfrom (Depends-on): Likewise. * doc/posix-functions/accept.texi: Mention the HP-UX socklen_t problem. * doc/posix-functions/getpeername.texi: Likewise. * doc/posix-functions/getsockname.texi: Likewise. * doc/posix-functions/getsockopt.texi: Likewise. * doc/posix-functions/recvfrom.texi: Likewise.
Diffstat (limited to 'modules/recvfrom')
-rw-r--r--modules/recvfrom1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/recvfrom b/modules/recvfrom
index 2b051b461d..590f6fecb8 100644
--- a/modules/recvfrom
+++ b/modules/recvfrom
@@ -6,6 +6,7 @@ lib/recvfrom.c
lib/w32sock.h
Depends-on:
+extensions
sys_socket
socketlib
errno [test "$ac_cv_header_winsock2_h" = yes]