Commit aba7a48
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
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments