summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/rtc.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-11-23 22:38:00 -0500
committerMeco Man <[email protected]>2021-11-23 22:38:00 -0500
commita1cc3d43e71819b3f12c3673187b6316d083ef6c (patch)
treefe100bed622711f6cb5251b540d2228d01cf68f4 /components/drivers/rtc/rtc.c
parent7dabc3844cfcc00f11f13da86a8d875c79531700 (diff)
modify time.h to sys/time.h
Diffstat (limited to 'components/drivers/rtc/rtc.c')
-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>