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 defines!

> I have used ssh2events, ssh2revents in order to create a private namespace.
> This fixes the AIX build problem, and ssh2_sample works, so far so good.
>
> Let me know what you think.

Did you try to simply #undef events and revents in session.c after all the 
includes?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to