diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-10-12 21:06:30 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-10-12 21:06:30 +0000 |
commit | e6b747c34a69fbd93e40cbf58530054522f7e5f9 (patch) | |
tree | 1e685b0e1a7372987d3583cad2c2ccc227710629 /include | |
parent | 633f3fb7aa15b29063de0b26823d1660d2ce6dd2 (diff) | |
download | libevent-e6b747c34a69fbd93e40cbf58530054522f7e5f9.tar.gz |
Declare struct timezone in util.h so that borken mingw versions do not complain
svn:r1441
Diffstat (limited to 'include')
-rw-r--r-- | include/event2/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |