1 --- stardict-3.0.3/dict/src/lib/sockets.cpp.~1~ 2011-07-03 10:58:40.000000000 +0400
2 +++ stardict-3.0.3/dict/src/lib/sockets.cpp 2014-12-02 17:48:18.842815185 +0300
4 # include <sys/types.h>
5 # include <sys/socket.h>
6 # include <netinet/in.h>
7 +# include <arpa/inet.h>
13 DnsQueryData *query_data = (DnsQueryData *)data;
14 struct hostent *phost;
16 +#if !defined(_WIN32) && !defined(__sun__)
17 #ifdef HAVE_GETHOSTBYNAME_R
18 struct hostent hostinfo;