Hi,
In both NDK and BSD style sockets, the timeval structure is redefined in socketndk.h. That means that if we're including sys/time.h, we get an error. I had to remove the redefinition from the NDK to build my application. There's a similar problem with bZero and bCopy defines when the application also includes string.h. I had to remove them as well.
Could you please fix these problems in the NDK?
Thanks,
Francis