From: Nick Mathewson Date: Mon, 12 Oct 2009 21:06:30 +0000 (+0000) Subject: Declare struct timezone in util.h so that borken mingw versions do not complain X-Git-Tag: release-2.0.3-alpha~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6b747c34a69fbd93e40cbf58530054522f7e5f9;p=libevent Declare struct timezone in util.h so that borken mingw versions do not complain svn:r1441 --- diff --git a/include/event2/util.h b/include/event2/util.h index 126a3037..2b23e62b 100644 --- a/include/event2/util.h +++ b/include/event2/util.h @@ -256,6 +256,7 @@ ev_int64_t evutil_strtoll(const char *s, char **endptr, int base); #ifdef _EVENT_HAVE_GETTIMEOFDAY #define evutil_gettimeofday(tv, tz) gettimeofday((tv), (tz)) #else +struct timezone; int evutil_gettimeofday(struct timeval *tv, struct timezone *tz); #endif