aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-07-03 18:18:40 +0000
committerGunter Knauf <gk@gknw.de>2007-07-03 18:18:40 +0000
commit07bf3c86b64283765f8ba39e89a959cd4dc36ecc (patch)
tree4aae2e9b1d8d2a2176241bb7789ccf8dbbfa1712 /ares
parent4182803bc2e1636e364b9a3c4a4d72b66d50d9e1 (diff)
trial to catch problem with Daniels cross-mingw ares builds.
Diffstat (limited to 'ares')
-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)