Declare struct timezone in evutil.h so that borken mingw versions do not complain

svn:r1442
This commit is contained in:
Nick Mathewson 2009-10-12 21:09:14 +00:00
parent c5a0f56c9a
commit 756c4cd394

View File

@ -168,6 +168,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