Fix Solaris builds
authorPavel Rochnyack <pavel2000@ngs.ru>
Sun, 14 Oct 2018 11:05:42 +0000 (18:05 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Sun, 14 Oct 2018 11:05:42 +0000 (18:05 +0700)
commitdd93ee4c9573de5be36807c458ece2d299589e71
treee9d9035b22d4a81a8e58ee0b3bb63ffc45b0752e
parente8f074fabeb5cba5f682e69fa673a7de7b11a2ab
Fix Solaris builds

Change introduced in df135922b19890047ebf725e6b82cd1c174c6d52 (#2810) causes build
failure on Solaris:

src/libcollectdclient/server.c: In function ‘server_multicast_join’:
src/libcollectdclient/server.c:103:9: error: unknown field ‘imr_address’ specified in initializer
         .imr_address.s_addr = INADDR_ANY, .imr_multiaddr.s_addr = sa->s_addr,
         ^
src/libcollectdclient/server.c:103:69: error: ‘struct sockaddr_in’ has no member named ‘S_un’
         .imr_address.s_addr = INADDR_ANY, .imr_multiaddr.s_addr = sa->s_addr,
                                                                     ^
src/libcollectdclient/server.c:102:27: error: missing braces around initializer [-Werror=missing-braces]
     struct ip_mreq mreq = {
                           ^
src/libcollectdclient/server.c:102:27: note: (near initialization for ‘mreq’)

Removed this change as not related to WIN32 platform.
src/libcollectdclient/server.c