X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnetutl.c;h=bff734e13c79a942d8649642d0c25dd43c2a8f0e;hp=3ea5d4a279085adb346ceafcd8c60f2be69b4b35;hb=43b41e9095e6261c53da1ae46117d018296c3b68;hpb=4989362300f800a6f407508f1e0127867cf80cba 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);