[Components/libc] Fix compile error.
This commit is contained in:
parent
2d9798ac3d
commit
f09e39ebd3
@ -1,5 +1,5 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <rtdevice.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
|
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
|
||||||
int gettimeofday(struct timeval *tp, void *ignore)
|
int gettimeofday(struct timeval *tp, void *ignore)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <rtdevice.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
|
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
|
||||||
int gettimeofday(struct timeval *tp, void *ignore)
|
int gettimeofday(struct timeval *tp, void *ignore)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <rtdevice.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
|
#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC)
|
||||||
int gettimeofday(struct timeval *tp, void *ignore)
|
int gettimeofday(struct timeval *tp, void *ignore)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user