X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnetutl.c;h=bff734e13c79a942d8649642d0c25dd43c2a8f0e;hb=c46bdbde18629f0a0613c776c13a79fea0ec6093;hp=3ea5d4a279085adb346ceafcd8c60f2be69b4b35;hpb=04fc19112da5e7fcefefcf6e490987cdcfb6f620;p=tinc diff --git a/src/netutl.c b/src/netutl.c index 3ea5d4a2..bff734e1 100644 --- a/src/netutl.c +++ b/src/netutl.c @@ -39,7 +39,7 @@ struct addrinfo *str2addrinfo(const char *address, const char *service, int sock hint.ai_family = addressfamily; hint.ai_socktype = socktype; -#ifdef HAVE_DECL_RES_INIT +#if HAVE_DECL_RES_INIT res_init(); #endif err = getaddrinfo(address, service, &hint, &ai);