Skip to content

Commit aba7a48

Browse files
abmusserichardlau
authored andcommitted
deps: fix aix implicit declaration in OpenSSL
This seems like a bug in AIX header files because the examples show including the headers but upon inspecting these files there are no declarations for sendmmsg and others: https://www.ibm.com/docs/en/aix/7.2.0?topic=s-sendmmsg-subroutine For now we can claim to not have these functions. Alternatively we can declare these ourselves if we are AIX 7.2 or newer. The actual functions look to be available in libc. GCC also has the same implicit function declaration but it happily moves forward. Clang started making this an explict error in clang 16: https://www.redhat.com/en/blog/new-warnings-and-errors-clang-16 PR-URL: #62656 Refs: https://www.ibm.com/docs/en/aix/7.2.0?topic=s-sendmmsg-subroutine Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 48a442b commit aba7a48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/openssl/openssl/crypto/bio/bss_dgram.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
#undef NO_RECVMMSG
6969
#define NO_RECVMMSG
7070
#endif
71-
#if defined(_AIX) && !defined(_AIX72)
72-
/* AIX >= 7.2 provides sendmmsg() and recvmmsg(). */
71+
#if defined(_AIX)
72+
/* Force fallback to sndmsg and recvmsg */
7373
#undef NO_RECVMMSG
7474
#define NO_RECVMMSG
7575
#endif

0 commit comments

Comments
 (0)