Commit 646aae648e for openssl.org
commit 646aae648eee85e02fed0eb0a3538d7995a3f951
Author: Abdirahim Musse <33973272+abmusse@users.noreply.github.com>
Date: Tue Apr 14 22:35:53 2026 -0500
aix: disable sendmmsg/recvmmsg
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)
diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c
index 41880da046..0a1479e834 100644
--- a/crypto/bio/bss_dgram.c
+++ b/crypto/bio/bss_dgram.c
@@ -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