summaryrefslogtreecommitdiff
path: root/components/drivers/rtc
diff options
context:
space:
mode:
authorguo <[email protected]>2021-12-02 10:09:37 +0800
committerGitHub <[email protected]>2021-12-02 10:09:37 +0800
commitfda37d55f8363d97dfc31c8e86b014c04cda2c10 (patch)
tree66742824f17fc0f221732fde4d1a15402b7a8554 /components/drivers/rtc
parent1d4594c6fcad494ef256c9bbd8aa7d64132a0995 (diff)
parent1cf8370b1ba5eca639e4b976f1e878753ee41548 (diff)
Merge pull request #5319 from RT-Thread/master
【PSE分支】同步master到PSE分支
Diffstat (limited to 'components/drivers/rtc')
-rw-r--r--components/drivers/rtc/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/rtc/rtc.c b/components/drivers/rtc/rtc.c
index 0658d2aaf4..39f82499f5 100644
--- a/components/drivers/rtc/rtc.c
+++ b/components/drivers/rtc/rtc.c
@@ -14,7 +14,7 @@
* 2021-07-30 Meco Man move rtc_core.c to rtc.c
*/
-#include <time.h>
+#include <sys/time.h>
#include <string.h>
#include <stdlib.h>
#include <rtthread.h>