diff --git a/ares/ares_gethostbyaddr.c b/ares/ares_gethostbyaddr.c index 777d2f7a06..0faeaec2ae 100644 --- a/ares/ares_gethostbyaddr.c +++ b/ares/ares_gethostbyaddr.c @@ -186,9 +186,9 @@ static int file_lookup(union ares_addr *addr, int family, struct hostent **host) { FILE *fp; int status; + int error; #ifdef WIN32 - int error; char PATH_HOSTS[MAX_PATH]; if (IS_NT()) { char tmp[MAX_PATH];