aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2017-08-13 16:04:03 -0500
committerBrent Cook <bcook@openbsd.org>2017-08-13 16:04:03 -0500
commit9e7fd1fa312c485f542f9a5b633cbfadcad46b17 (patch)
tree5a5ae57a5305411a43bcc70e95d70edf2d856109
parente0cffc6b4817a3325dfb4391c458d83436f96c7b (diff)
downloadportable-9e7fd1fa312c485f542f9a5b633cbfadcad46b17.tar.gz
portable-9e7fd1fa312c485f542f9a5b633cbfadcad46b17.tar.bz2
portable-9e7fd1fa312c485f542f9a5b633cbfadcad46b17.zip
declare struct timezone outside of the function declaration
-rw-r--r--crypto/compat/posix_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/compat/posix_win.c b/crypto/compat/posix_win.c
index f8121d8..d6e2dcb 100644
--- a/crypto/compat/posix_win.c
+++ b/crypto/compat/posix_win.c
@@ -209,6 +209,7 @@ posix_setsockopt(int sockfd, int level, int optname,
209} 209}
210 210
211#ifdef _MSC_VER 211#ifdef _MSC_VER
212struct timezone;
212int gettimeofday(struct timeval * tp, struct timezone * tzp) 213int gettimeofday(struct timeval * tp, struct timezone * tzp)
213{ 214{
214 /* 215 /*