From 5a6af8adbc3a0a84c5c2c64a294d841c35d805f6 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 3 Jul 2007 18:18:40 +0000 Subject: [PATCH] trial to catch problem with Daniels cross-mingw ares builds. --- nameser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nameser.h b/nameser.h index ec5e77a..a2e8e37 100644 --- a/nameser.h +++ b/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) -- 2.7.4