summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/rtc/rtc.c')
-rw-r--r--components/drivers/rtc/rtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/rtc/rtc.c b/components/drivers/rtc/rtc.c
index b5005429a0..3a843e2e0c 100644
--- a/components/drivers/rtc/rtc.c
+++ b/components/drivers/rtc/rtc.c
@@ -16,6 +16,7 @@
#include <string.h>
#include <stdlib.h>
#include <rtthread.h>
+#include <drivers/rtc.h>
#ifdef RT_USING_RTC