diff options
| author | Bernard Xiong <[email protected]> | 2020-12-03 08:40:07 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-03 08:40:07 +0800 |
| commit | d7c367d38ba7f2ac1a0f44abf5d8b95c65041bba (patch) | |
| tree | 111d6adddce9bedecc2976bdf58b1c8415ad417f /components | |
| parent | 9d607270581456568dc637538d3ee891a2119d9b (diff) | |
| parent | 54143409cabf799f04ee6ee0480d6ae939087f9f (diff) | |
Merge pull request #4070 from mysterywolf/getline
[bug] [libc] 增加#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> |
