summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/arm/lpc32xx/rtc/rtc-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsps/arm/lpc32xx/rtc/rtc-config.c b/bsps/arm/lpc32xx/rtc/rtc-config.c
index bd225248b3..f2f3eddfaf 100644
--- a/bsps/arm/lpc32xx/rtc/rtc-config.c
+++ b/bsps/arm/lpc32xx/rtc/rtc-config.c
@@ -25,6 +25,8 @@
#include <bsp.h>
#include <bsp/lpc32xx.h>
+#include <time.h>
+
#define LPC32XX_RTC_COUNT 1U
#define LPC32XX_RTC_COUNTER_DELTA 0xfffffffeU