]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
aix: disable sendmmsg/recvmmsg
authorAbdirahim Musse <33973272+abmusse@users.noreply.github.com>
Wed, 15 Apr 2026 03:35:53 +0000 (22:35 -0500)
committerEugene Syromiatnikov <esyr@openssl.org>
Sun, 26 Apr 2026 11:58:56 +0000 (13:58 +0200)
AIX header files don't properly expose sendmmsg/recvmmsg function
declarations. Disable these functions to avoid implicit declaration
errors with clang 16+.

This issue was discovered when building Node.js with clang.

CLA: trivial
Fixes: 52cd2a49c53e "Enable send-/recvmmsg for AIX >= 7.2 and disable SUPPORT_LOCAL_ADDR."
References: https://github.com/nodejs/node/pull/62656
Resolves: https://github.com/openssl/openssl/issues/30806

Reviewed-by: Matt Caswell <matt@openssl.foundation>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
MergeDate: Sun Apr 26 12:02:58 2026
(Merged from https://github.com/openssl/openssl/pull/30832)

crypto/bio/bss_dgram.c

index 41880da046e05f9cd270bfb8c307e6c203047aa9..0a1479e83412e6e573c9db115bcf3c4afd809918 100644 (file)
@@ -68,8 +68,8 @@
 #undef NO_RECVMMSG
 #define NO_RECVMMSG
 #endif
-#if defined(_AIX) && !defined(_AIX72)
-/* AIX >= 7.2 provides sendmmsg() and recvmmsg(). */
+#if defined(_AIX)
+/* AIX header files don't properly expose sendmmsg/recvmmsg declarations */
 #undef NO_RECVMMSG
 #define NO_RECVMMSG
 #endif