diff --git a/ares_init.c b/ares_init.c index 3d29cfee..07e16825 100644 --- a/ares_init.c +++ b/ares_init.c @@ -797,7 +797,7 @@ quit: static int init_by_resolv_conf(ares_channel channel) { -#ifndef WATT32 +#if !(defined(ANDROID) || defined(__ANDROID__) || defined(WATT32)) char *line = NULL; #endif int status = -1, nservers = 0, nsort = 0;