Commit 0284a21983b0158c22aa8f8267aa9de60cb6722b

Ben Straub 2012-06-11T12:55:36

Fix mingw32 (Travis) build.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/posix.h b/src/posix.h
index 3f52f9b..5799c04 100644
--- a/src/posix.h
+++ b/src/posix.h
@@ -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);