aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-11-23 17:57:00 +0100
committerYang Tse <yangsita@gmail.com>2012-11-23 17:57:00 +0100
commit665adcd4b7bcdb7deb638cdc499fbe71f8d777f2 (patch)
tree6317256953017d01d4a8d72fdcf0f7e992e998df /configure.ac
parent91dc73ef445c5d382a72db21468289ae8a9e80e3 (diff)
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.ac2
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