[gnutls-devel] undefined reference to htons and ntohs (Android)

A. Klitzing aklitzing at gmail.com
Fri Nov 7 21:27:38 CET 2014

> Maybe these are macros. Would the issue go away if you add #include
> <arpa/inet.h> in socket.c?
> regards,
> Nikos

Yes, thank you! It compiles and links again now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20141107/411ab05a/attachment.html>

More information about the Gnutls-devel mailing list