mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 13:24:43 -04:00
Declare struct timezone in util.h so that borken mingw versions do not complain
svn:r1441
This commit is contained in:
parent
633f3fb7aa
commit
e6b747c34a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user