[sr-dev] git:master: core: fixed compilation on Solaris, due to missing gethostbyname2