[Components/libc] Fix compile error.

This commit is contained in:
armink 2018-05-04 09:06:57 +08:00
parent 2d9798ac3d
commit f09e39ebd3
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#include <sys/time.h>
#include <rtdevice.h>
#include <rtthread.h>
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
int gettimeofday(struct timeval *tp, void *ignore)

View File

@ -1,5 +1,5 @@
#include <sys/time.h>
#include <rtdevice.h>
#include <rtthread.h>
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
int gettimeofday(struct timeval *tp, void *ignore)

View File

@ -1,5 +1,5 @@
#include <sys/time.h>
#include <rtdevice.h>
#include <rtthread.h>
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
int gettimeofday(struct timeval *tp, void *ignore)