]> granicus.if.org Git - libevent/commitdiff
Declare struct timezone in util.h so that borken mingw versions do not complain
authorNick Mathewson <nickm@torproject.org>
Mon, 12 Oct 2009 21:06:30 +0000 (21:06 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 12 Oct 2009 21:06:30 +0000 (21:06 +0000)
svn:r1441

include/event2/util.h

index 126a303739f827521759dcca133cdb8b08d7aef5..2b23e62bbfc3560c0454d9b76a65507d565e9925 100644 (file)
@@ -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