diff --git a/src/sources/mcast.c b/src/sources/mcast.c index da9276f..68b3761 100644 --- a/src/sources/mcast.c +++ b/src/sources/mcast.c @@ -22,6 +22,11 @@ #define DEFAULT_MCAST_ADDR "239.255.186.1" #define DEFAULT_MCAST_PORT "3370" +#if defined(IPV6_JOIN_GROUP) && !defined(IPV6_ADD_MEMBERSHIP) + /* bsd-derivatives */ + #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP +#endif + struct _config { char name[32]; char error[256];