Hi,
Following is a suggested fix to make libssh2 compile on AIX 5.x (and also
4.x, afaik).
The problem is that AIX has these defines in /usr/include/sys/poll.h:
#define events reqevents /* SVR3,4 pollfd member name*/
#define revents rtnevents /* SVR3,4 pollfd mem
To follow up myself:
>--- include/libssh2.h 4 Nov 2006 19:30:31 - 1.60
>+++ include/libssh2.h 23 Nov 2006 17:06:42 -
>@@ -172,8 +172,8 @@ typedef struct _LIBSSH2_POLLFD {
> LIBSSH2_LISTENER *listener; /* Read polls only -- are inbound
> connections waiting to be acce
>> --- include/libssh2.h4 Nov 2006 19:30:31 - 1.60
>> +++ include/libssh2.h23 Nov 2006 17:06:42 -
>> @@ -172,8 +172,8 @@ typedef struct _LIBSSH2_POLLFD {
>> LIBSSH2_LISTENER *listener; /* Read polls only -- are inbound
>> connections waiting to be accepte
On Thu, 23 Nov 2006, Tor Arntsen wrote:
> The problem is that AIX has these defines in /usr/include/sys/poll.h:
>
> #define events reqevents /* SVR3,4 pollfd member name*/
> #define revents rtnevents /* SVR3,4 pollfd member name*/
Now that's one pair of nasty