Sat, 22 Nov 2014 23:34:30 +0100
Fix build for platforms without AF_LOCAL definition
| ChangeLog | file | annotate | diff | comparison | revisions | |
| libpurple/protocols/gg/lib/network.h | file | annotate | diff | comparison | revisions |
--- a/ChangeLog Sat Nov 22 10:26:09 2014 -0800 +++ b/ChangeLog Sat Nov 22 23:34:30 2014 +0100 @@ -11,6 +11,7 @@ Gadu-Gadu: * Fix a bug that prevented plugin to load when compiled without GnuTLS. (mancha) (#16431) + * Fix build for platforms without AF_LOCAL definition. (#16404) MSN: * Fix broken login due to server change (dx, TReKiE). (#16451, #16455)
--- a/libpurple/protocols/gg/lib/network.h Sat Nov 22 10:26:09 2014 -0800 +++ b/libpurple/protocols/gg/lib/network.h Sat Nov 22 23:34:30 2014 +0100 @@ -105,6 +105,10 @@ # define INADDR_NONE ((in_addr_t) 0xffffffff) #endif +#ifndef AF_LOCAL +# define AF_LOCAL AF_UNIX +#endif + static inline int gg_fd_set_nonblocking(int fd) { int success;