Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3a631e7

Browse filesBrowse files
abmusseaduh95
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 cf44df3 commit 3a631e7
Copy full SHA for 3a631e7

1 file changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: deps/openssl/openssl/crypto/bio/bss_dgram.c
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.