diff --git a/ares/nameser.h b/ares/nameser.h index a2e8e3731567deca1fb64d6445bb3e232ad38189..34f8dab32c9b3c69a03cf03902ded2f1a12e53a4 100644 --- a/ares/nameser.h +++ b/ares/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