diff options
author | Yang Tse <yangsita@gmail.com> | 2012-11-23 17:57:00 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-11-23 17:57:00 +0100 |
commit | 665adcd4b7bcdb7deb638cdc499fbe71f8d777f2 (patch) | |
tree | 6317256953017d01d4a8d72fdcf0f7e992e998df /configure.ac | |
parent | 91dc73ef445c5d382a72db21468289ae8a9e80e3 (diff) | |
download | curl-665adcd4b7bcdb7deb638cdc499fbe71f8d777f2.tar.gz |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d9642863b..d203db5f8 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |