diff --git a/pim6sd/mld6.h b/pim6sd/mld6.h index 0f254a0..2f41b29 100644 --- a/pim6sd/mld6.h +++ b/pim6sd/mld6.h @@ -98,6 +98,18 @@ struct mld_hdr { #define mld_reserved mld6_reserved #endif +/* For glibc higher than 2.3.x */ +#ifndef ICMP6_MEMBERSHIP_QUERY +#define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY +#define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION +#define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT +#define MLD_LISTENER_DONE MLD_LISTENER_REDUCTION +#define MLD_MTRACE_RESP 201 +#define MLD_MTRACE 202 + +#endif + + #ifndef IP6OPT_RTALERT_MLD #define IP6OPT_RTALERT_MLD 0 #define IP6OPT_RTALERT 0x05