From 59c128c0733c4b3ffa61558bb2ce8bf981c78adb Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Thu, 31 Jul 2014 09:30:18 +0800 Subject: [libc] fix compiling warning --- components/libc/newlib/syscalls.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'components/libc') diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c index 5b829f4753..388d240c94 100644 --- a/components/libc/newlib/syscalls.c +++ b/components/libc/newlib/syscalls.c @@ -3,6 +3,14 @@ #include #include +#ifdef RT_USING_DFS +#include +#endif + +#ifdef RT_USING_PTHREADS +#include +#endif + /* Reentrant versions of system calls. */ int -- cgit v1.3.1