mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:13:31 +03:00
build: fix AIX compilation and usage
AIX sys/poll.h header file defines 'events' and 'revents' as C
preprocessor macros. Usage of these literals in libcurl's external
API was introduced in commit de24d7bd4c causing AIX build failures.
Appropriate inclusion of sys/poll.h by libcurl's external interface
fixes AIX build and usage issues while avoiding a SONAME bump.
This commit is contained in:
parent
91dc73ef44
commit
665adcd4b7
4 changed files with 54 additions and 2 deletions
|
|
@ -2948,6 +2948,8 @@ AC_CHECK_TYPE([bool],[
|
|||
|
||||
CURL_CONFIGURE_CURL_SOCKLEN_T
|
||||
|
||||
CURL_CONFIGURE_PULL_SYS_POLL
|
||||
|
||||
TYPE_IN_ADDR_T
|
||||
|
||||
TYPE_SOCKADDR_STORAGE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue