diff options
| author | Bernard Xiong <[email protected]> | 2021-05-13 09:13:45 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-13 09:13:45 +0800 |
| commit | eca044f87c629c2df08dfc66cea399c6be9b102f (patch) | |
| tree | 93468dc007bc0716c96fa1c06560f76dd32e008a /components/libc/pthreads | |
| parent | 07a7bcabb9abb6cf06057a1575cd94862e60aeb2 (diff) | |
| parent | dfb8df71c90e6f306e7abebd7ad94ef93e970ca9 (diff) | |
Merge pull request #4679 from mysterywolf/sys-errno
[bug][libc]修复因libc移除sys/errno.h文件导致的报错
Diffstat (limited to 'components/libc/pthreads')
| -rw-r--r-- | components/libc/pthreads/posix_types.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/components/libc/pthreads/posix_types.h b/components/libc/pthreads/posix_types.h index f2d806cc9a..942657ef39 100644 --- a/components/libc/pthreads/posix_types.h +++ b/components/libc/pthreads/posix_types.h @@ -19,16 +19,9 @@ #include <sys/types.h> #include <sys/time.h> - -/* errno for Keil MDK */ -#if defined(__CC_ARM) || defined(__IAR_SYSTEMS_ICC__) -#include <sys/errno.h> -#include <sys/unistd.h> -#else #include <unistd.h> #include <errno.h> #include <fcntl.h> -#endif #endif |
