diff --git a/lib/bind/port_after.h.in b/lib/bind/port_after.h.in index e9c57ca2c5..02aa283cf3 100644 --- a/lib/bind/port_after.h.in +++ b/lib/bind/port_after.h.in @@ -97,6 +97,13 @@ extern const struct in6_addr in6addr_any; #define __IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f) #endif +#ifndef __IPV6_ADDR_SCOPE_SITELOCAL +#define __IPV6_ADDR_SCOPE_SITELOCAL 0x05 +#define +#ifndef __IPV6_ADDR_SCOPE_ORGLOCAL +#define __IPV6_ADDR_SCOPE_ORGLOCAL 0x08 +#define + #ifndef IN6_IS_ADDR_MC_SITELOCAL #define IN6_IS_ADDR_MC_SITELOCAL(a) \ (IN6_IS_ADDR_MULTICAST(a) && \