Skip to content

Commit d7c367d

Browse files
authored
Merge pull request #4070 from mysterywolf/getline
[bug] [libc] 增加#include <rtconfig.h> 防止开启termios功能后报错
2 parents 9d60727 + 5414340 commit d7c367d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/libc/compilers/common/termios.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#ifndef _TERMIOS_H__
1010
#define _TERMIOS_H__
1111

12+
#include <rtconfig.h>
13+
1214
#ifdef RT_USING_POSIX_TERMIOS
1315
#include <sys/types.h>
1416
#include <posix_termios.h>

0 commit comments

Comments
 (0)