summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2021-05-14 13:28:25 +0800
committerWayne Lin <[email protected]>2021-05-14 13:28:25 +0800
commit1008f9e54307cea0b7e00a61060999787f5f05eb (patch)
tree7a0f62a98348663077412bed5d6616f9d293b7db /components/libc
parentcc32e7aa4dc016494a396c6ffb163f54928f1014 (diff)
parent484cda4d928592bb575f2914dceb84caf4c09d4e (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/pthreads/posix_types.h7
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