diff --git a/nameser.h b/nameser.h index a2e8e373..34f8dab3 100644 --- a/nameser.h +++ b/nameser.h @@ -32,7 +32,7 @@ struct iovec int ares_writev (SOCKET s, const struct iovec *vector, size_t count); #define writev(s,vect,count) ares_writev(s,vect,count) -#ifndef HAVE_STRUCT_TIMEVAL +#ifndef HAVE_GETTIMEOFDAY struct timezone { int dummy; }; #endif