diff options
| author | Bernard Xiong <root@VM-152-115-ubuntu.(none)> | 2014-07-31 09:30:18 +0800 |
|---|---|---|
| committer | Bernard Xiong <root@VM-152-115-ubuntu.(none)> | 2014-07-31 09:30:18 +0800 |
| commit | 59c128c0733c4b3ffa61558bb2ce8bf981c78adb (patch) | |
| tree | 8380bbb92262d915f80f1583ca1f19d45a92c0a4 /components/libc/newlib | |
| parent | 94883a92fbc43b41e4888beb27fc2c3e2a95d4f1 (diff) | |
[libc] fix compiling warning
Diffstat (limited to 'components/libc/newlib')
| -rw-r--r-- | components/libc/newlib/syscalls.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <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 |
