浏览代码

[Components/libc] Fix compile error.

armink 7 年之前
父节点
当前提交
f09e39ebd3

+ 1 - 1
components/libc/compilers/armlibc/time.c

@@ -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)

+ 1 - 1
components/libc/compilers/dlib/time.c

@@ -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)

+ 1 - 1
components/libc/compilers/newlib/time.c

@@ -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)