浏览代码

[newlib] Remove compiling warning.

bernard 11 年之前
父节点
当前提交
8336654059
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      components/libc/newlib/syscalls.c

+ 8 - 0
components/libc/newlib/syscalls.c

@@ -3,6 +3,14 @@
 #include <sys/time.h>
 #include <rtthread.h>
 
+#ifdef RT_USING_DFS
+#include <dfs_posix.h>
+#endif
+
+#ifdef RT_USING_PTHREADS 
+#include <pthread.h>
+#endif
+
 /* Reentrant versions of system calls.  */
 
 int