Skip to content

Commit 5414340

Browse files
authored
增加#include <rtconfig.h> 防止开启termios功能后报错
1 parent 3634621 commit 5414340

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)