Fix mingw32 (Travis) build.

This commit is contained in:
Ben Straub 2012-06-11 12:55:36 -07:00
parent 80779ea83e
commit 0284a21983

View File

@ -66,6 +66,7 @@ typedef int GIT_SOCKET;
#else
typedef SOCKET GIT_SOCKET;
struct timezone;
extern struct tm * p_localtime_r (const time_t *timer, struct tm *result);
extern struct tm * p_gmtime_r (const time_t *timer, struct tm *result);
extern int p_gettimeofday(struct timeval *tv, struct timezone *tz);