diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c index 9eff2c20af..1811dab42e 100644 --- a/src/lib/ecore_con/dns.c +++ b/src/lib/ecore_con/dns.c @@ -3437,10 +3437,11 @@ struct dns_hosts *dns_hosts_local(int *error_) { if (!(hosts = dns_hosts_open(&error))) goto error; - + +#ifndef _WIN32 if ((error = dns_hosts_loadpath(hosts, "/etc/hosts"))) goto error; - +#endif return hosts; error: *error_ = error;