aboutsummaryrefslogtreecommitdiff
path: root/ares/nameser.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/nameser.h')
-rw-r--r--ares/nameser.h2
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)