From 833665405985c5978e008df6d259d8d9a505a36c Mon Sep 17 00:00:00 2001 From: bernard Date: Fri, 1 Aug 2014 13:25:37 +0800 Subject: [PATCH] [newlib] Remove compiling warning. --- components/libc/newlib/syscalls.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c index 5b829f475..388d240c9 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 -- GitLab