Fix implicit definition warnings do to missing inclusion of nuttx/time.h (#162)

Recent changes removed CONFIG_TIME_ENHANCED and unmasked some warnings.  These warnings were caused by nuttx/time.h not being included by files that now referenced clock_daysbeforemonth() and clock_isleapyear().

This commit adds those missing inclusions and eliminates the warnings.

Co-authored-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
patacongo 2020-01-24 16:06:19 -06:00 committed by Abdelatif Guettouche
parent 36185d8366
commit b46b76c956
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@
#include <nuttx/arch.h>
#include <nuttx/irq.h>
#include <nuttx/time.h>
#include <arch/board/board.h>

View File

@ -48,6 +48,7 @@
#include <nuttx/arch.h>
#include <nuttx/irq.h>
#include <nuttx/time.h>
#include "up_arch.h"