diff --git a/src/net/AddressInfo.cxx b/src/net/AddressInfo.cxx index 11ab355d6..0acf8b81f 100644 --- a/src/net/AddressInfo.cxx +++ b/src/net/AddressInfo.cxx @@ -30,9 +30,10 @@ #include "AddressInfo.hxx" #include "Features.hxx" +#include #include -static constexpr int address_family_ranking[] = { +static constexpr auto address_family_ranking = std::array { #ifdef HAVE_UN AF_LOCAL, #endif