--- a/libpurple/protocols/gg/lib/resolver.h Mon Feb 24 15:43:08 2014 +0100 +++ b/libpurple/protocols/gg/lib/resolver.h Fri Feb 28 17:29:00 2014 +0100 @@ -19,10 +19,9 @@ #ifndef LIBGADU_RESOLVER_H #define LIBGADU_RESOLVER_H -#ifndef _WIN32 -# include <arpa/inet.h> -#endif +#include "network.h" -int gg_gethostbyname_real(const char *hostname, struct in_addr **result, int *count, int pthread); +int gg_gethostbyname_real(const char *hostname, struct in_addr **result, unsigned int *count, int pthread); +int gg_resolver_recv(int fd, void *buf, size_t len); #endif /* LIBGADU_RESOLVER_H */