diff options
author | Brent Cook <bcook@openbsd.org> | 2017-08-13 16:04:03 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-08-13 16:04:03 -0500 |
commit | 9e7fd1fa312c485f542f9a5b633cbfadcad46b17 (patch) | |
tree | 5a5ae57a5305411a43bcc70e95d70edf2d856109 | |
parent | e0cffc6b4817a3325dfb4391c458d83436f96c7b (diff) | |
download | portable-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.c | 1 |
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 |
212 | struct timezone; | ||
212 | int gettimeofday(struct timeval * tp, struct timezone * tzp) | 213 | int gettimeofday(struct timeval * tp, struct timezone * tzp) |
213 | { | 214 | { |
214 | /* | 215 | /* |