diff options
author | Tomasz Wasilczyk <twasilczyk@pidgin.im> | 2014-11-22 23:34:30 +0100 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@pidgin.im> | 2014-11-22 23:34:30 +0100 |
commit | 73c9c2d48be79228a696c32d3dc76e22a8b7eab3 (patch) | |
tree | e8554c47fa3dc50214ea5c70ef491d31ea491442 | |
parent | a9717b74798f2c26cf4f63496dc0048ccfb733e7 (diff) | |
download | pidgin-73c9c2d48be79228a696c32d3dc76e22a8b7eab3.tar.gz |
Fix build for platforms without AF_LOCAL definition
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | libpurple/protocols/gg/lib/network.h | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,7 @@ version 2.10.11 (11/23/14): 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) diff --git a/libpurple/protocols/gg/lib/network.h b/libpurple/protocols/gg/lib/network.h index fc8ae9e9e5..330a6700bb 100644 --- a/libpurple/protocols/gg/lib/network.h +++ b/libpurple/protocols/gg/lib/network.h @@ -105,6 +105,10 @@ static inline void gg_win32_init_network(void) # 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; |