From 576461ed606d19402a305249c9174267806e409f Mon Sep 17 00:00:00 2001 From: "freddy.li" Date: Sat, 28 Aug 2021 10:23:58 +0800 Subject: [PATCH] Solve Unisoc platform sleep can not quit the problem --- port/helios/src/timing_alt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/port/helios/src/timing_alt.c b/port/helios/src/timing_alt.c index e9f7bb3..d6dbc05 100644 --- a/port/helios/src/timing_alt.c +++ b/port/helios/src/timing_alt.c @@ -4,10 +4,12 @@ #include #include +#if defined (PLAT_ASR) struct timeval { int tv_sec; int tv_usec; }; +#endif extern int gettimeofday(struct timeval *tv, void *tz); -- Gitee