declare struct timezone outside of the function declaration

This commit is contained in:
Brent Cook 2017-08-13 16:04:03 -05:00
parent e0cffc6b48
commit 9e7fd1fa31

View File

@ -209,6 +209,7 @@ posix_setsockopt(int sockfd, int level, int optname,
}
#ifdef _MSC_VER
struct timezone;
int gettimeofday(struct timeval * tp, struct timezone * tzp)
{
/*