diff options
| author | guo <[email protected]> | 2021-10-28 20:43:14 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-28 20:43:14 +0800 |
| commit | 51d5930aa32f57af7234366804c13b580d0b8964 (patch) | |
| tree | 56ed3a97f40051bf1b77a249f869db0acb29c92c /components/libc/compilers/dlib/syscall_read.c | |
| parent | 7bb5826c1f5dba0fe4fa09169a03abd5718fb8ec (diff) | |
| parent | 7b43cf9793025b0bbb9b2c3bbeedb788edb04f7c (diff) | |
Merge pull request #5244 from mysterywolf/libccc
[libc][posix] move libc.c/.h to posix folder
Diffstat (limited to 'components/libc/compilers/dlib/syscall_read.c')
| -rw-r--r-- | components/libc/compilers/dlib/syscall_read.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/compilers/dlib/syscall_read.c b/components/libc/compilers/dlib/syscall_read.c index 447ca03112..74cedb966a 100644 --- a/components/libc/compilers/dlib/syscall_read.c +++ b/components/libc/compilers/dlib/syscall_read.c @@ -11,7 +11,9 @@ #include <rtthread.h> #include <yfuns.h> #include <unistd.h> +#ifdef RT_USING_POSIX #include "libc.h" +#endif #define DBG_TAG "dlib.syscall_read" #define DBG_LVL DBG_INFO |
