From 7540d35f5b054b84ee687e6a19cfa3d2dd678b08 Mon Sep 17 00:00:00 2001 From: tickduan <417921451@qq.com> Date: Thu, 8 Jul 2021 20:14:10 +0800 Subject: [PATCH] fix time() funciton --- deps/SZ/sz/src/sz.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deps/SZ/sz/src/sz.c b/deps/SZ/sz/src/sz.c index 87060b8012..4d3b0adbbe 100644 --- a/deps/SZ/sz/src/sz.c +++ b/deps/SZ/sz/src/sz.c @@ -162,6 +162,8 @@ void SZ_Finalize() #ifdef WINDOWS +#include + int gettimeofday(struct timeval *tv, struct timezone *tz) { time_t t; t = time(NULL); -- GitLab