sys/socket.h isn't included in contact.h; sys/socket.h defines the type for sockaddr_storage as defined by POSIX (http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html). This patch fixes the build on OpenBSD and probably other systems too where netinet/in.h doesn't include sys/socket.h.
Created attachment 81126 [details] [review] Fix build as described in ticket.
Replacing the #ifdef G_OS_WIN32...#endif with #include <gibber/gibber-sockets.h>, which encapsulates the whole mess, would be better: it deals with various other awkward header-order things, such as Darwin. Using GSocketAddress instead of struct sockaddr would be better still, although a rather larger patch.
Thanks for your feedback, that approach works fine on OpenBSD too; I'll update the patch.
Created attachment 81336 [details] [review] Fix build as described in ticket.
Fixed in git for 0.9.0, thanks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.