diff options
Diffstat (limited to 'ares')
-rw-r--r-- | ares/nameser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/nameser.h b/ares/nameser.h index ec5e77aa0..a2e8e3731 100644 --- a/ares/nameser.h +++ b/ares/nameser.h @@ -32,7 +32,9 @@ 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 struct timezone { int dummy; }; +#endif int ares_gettimeofday(struct timeval *tv, struct timezone *tz); #define gettimeofday(tv,tz) ares_gettimeofday(tv,tz) |