diff options
| author | Meco Man <[email protected]> | 2020-11-23 01:14:44 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-23 01:14:44 +0800 |
| commit | 54143409cabf799f04ee6ee0480d6ae939087f9f (patch) | |
| tree | 57abded631ba8a21dcde2a4c986d7f827844d8d5 /components | |
| parent | 3634621815b4145c786cff2e22cfeae5b108e94f (diff) | |
增加#include <rtconfig.h> 防止开启termios功能后报错
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/compilers/common/termios.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/compilers/common/termios.h b/components/libc/compilers/common/termios.h index ee2b4d5718..414d0c0cb3 100644 --- a/components/libc/compilers/common/termios.h +++ b/components/libc/compilers/common/termios.h @@ -9,6 +9,8 @@ #ifndef _TERMIOS_H__ #define _TERMIOS_H__ +#include <rtconfig.h> + #ifdef RT_USING_POSIX_TERMIOS #include <sys/types.h> #include <posix_termios.h> |
