From d202e2ef615a70cbee0ba5237d4818a6c6d0f5bf Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 19 Feb 2020 15:39:24 -0600 Subject: [PATCH] libs/libc/time/lib_gmtimer.c: Fix compile problem from PR317 PR317 removed definitions for SEC_PER_MIN, SEC_PER_HOUR, and SEC_PER_DAY because these were duplicates of definitions in include/nuttx/clock.h. However, the PR did not include nuttx/clock.h so the removal of these definitions resulted in compilation failures. Noted by Ouss4 --- libs/libc/time/lib_gmtimer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libc/time/lib_gmtimer.c b/libs/libc/time/lib_gmtimer.c index 6012b2cc45..54d01e7363 100644 --- a/libs/libc/time/lib_gmtimer.c +++ b/libs/libc/time/lib_gmtimer.c @@ -46,6 +46,7 @@ #include #include +#include /**************************************************************************** * Private Function Prototypes