From: octo Date: Mon, 13 Mar 2006 21:03:08 +0000 (+0000) Subject: Merged 494:495 from `trunk' to `tags/collectd-3.8.1' X-Git-Tag: collectd-3.8.1~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4c5ba2fe22d95b88d865e74a9487ea176e585dad;p=collectd.git Merged 494:495 from `trunk' to `tags/collectd-3.8.1' --- diff --git a/src/network.c b/src/network.c index cf0a0a38..1ecb9d74 100644 --- a/src/network.c +++ b/src/network.c @@ -39,6 +39,14 @@ /* 1500 - 40 - 8 = Ethernet packet - IPv6 header - UDP header */ /* #define BUFF_SIZE 1452 */ +#ifndef IPV6_ADD_MEMBERSHIP +# ifdef IPV6_JOIN_GROUP +# define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP +# else +# error "Neither IP_ADD_MEMBERSHIP nor IPV6_JOIN_GROUP is defined" +# endif +#endif /* !IP_ADD_MEMBERSHIP */ + #define BUFF_SIZE 4096 #ifdef HAVE_LIBRRD