فهرست منبع

[Components/libc] Fix compile error.

armink 7 سال پیش
والد
کامیت
f09e39ebd3
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      components/libc/compilers/armlibc/time.c
  2. 1 1
      components/libc/compilers/dlib/time.c
  3. 1 1
      components/libc/compilers/newlib/time.c

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