build: fix AIX compilation and usage
authorYang Tse <yangsita@gmail.com>
Fri, 23 Nov 2012 16:57:00 +0000 (17:57 +0100)
committerYang Tse <yangsita@gmail.com>
Fri, 23 Nov 2012 16:57:00 +0000 (17:57 +0100)
commit665adcd4b7bcdb7deb638cdc499fbe71f8d777f2
tree6317256953017d01d4a8d72fdcf0f7e992e998df
parent91dc73ef445c5d382a72db21468289ae8a9e80e3
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.
acinclude.m4
configure.ac
include/curl/curlbuild.h.in
include/curl/curlrules.h