diff --git a/lib/lwres/getipnode.c b/lib/lwres/getipnode.c index 9fb1da3f21..fb511fbac4 100644 --- a/lib/lwres/getipnode.c +++ b/lib/lwres/getipnode.c @@ -8,8 +8,12 @@ #include #include +#ifndef INADDRSZ #define INADDRSZ 4 +#endif +#ifndef IN6ADDRSZ #define IN6ADDRSZ 16 +#endif #ifndef IN6_IS_ADDR_V4COMPAT static const unsigned char in6addr_compat[12] = {