diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c index 1811dab42e..b52442704d 100644 --- a/src/lib/ecore_con/dns.c +++ b/src/lib/ecore_con/dns.c @@ -3747,6 +3747,7 @@ struct dns_resolv_conf *dns_resconf_local(int *error_) { if (!(resconf = dns_resconf_open(&error))) goto error; +#ifndef _WIN32 if ((error = dns_resconf_loadpath(resconf, "/etc/resolv.conf"))) goto error; @@ -3754,6 +3755,7 @@ struct dns_resolv_conf *dns_resconf_local(int *error_) { if (error != ENOENT) goto error; } +#endif return resconf; error: