diff options
| author | Bernard Xiong <[email protected]> | 2020-10-11 09:37:38 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-11 09:37:38 +0800 |
| commit | a5cd7e7abd60e166b991375fcec686b44b818a11 (patch) | |
| tree | 32fb9db43ae7230198a5802f1dcfa63fb286c936 /include/libc/libc_fdset.h | |
| parent | b1f528ea69aea916918f290f2694ddd7c741d521 (diff) | |
| parent | c7aa6f0619318a3730fc4f4689d2cd2e72efed52 (diff) | |
Merge pull request #3944 from mysterywolf/libc
[fix bug] #3902
Diffstat (limited to 'include/libc/libc_fdset.h')
| -rw-r--r-- | include/libc/libc_fdset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc/libc_fdset.h b/include/libc/libc_fdset.h index 4a778b51c1..9700c7e83e 100644 --- a/include/libc/libc_fdset.h +++ b/include/libc/libc_fdset.h @@ -13,7 +13,7 @@ #include <rtconfig.h> -#if defined(RT_USING_NEWLIB) || defined(_WIN32) || defined( __GNUC__ ) +#if defined(RT_USING_NEWLIB) || defined(_WIN32) || (defined( __GNUC__ ) && !defined(__ARMCC_VERSION)) #include <sys/types.h> #if defined(HAVE_SYS_SELECT_H) #include <sys/select.h> |
