--- modules/services_discovery/upnp.cpp 2022-02-15 12:24:38.000000000 -0500 +++ modules/services_discovery/upnp.cpp 2022-05-07 19:28:26.254831000 -0400 @@ -1560,5 +1560,5 @@ #else /* _WIN32 */ -#ifdef UPNP_ENABLE_IPV6 +#if defined(UPNP_ENABLE_IPV6) || UPNP_VERSION >= 10803 #ifdef __APPLE__ @@ -1706,5 +1706,5 @@ } - #ifdef UPNP_ENABLE_IPV6 + #if defined(UPNP_ENABLE_IPV6) || UPNP_VERSION >= 10803 char* psz_miface = var_InheritString( p_obj, "miface" ); if (psz_miface == NULL)