Przeglądaj źródła

Merge pull request #4070 from mysterywolf/getline

[bug] [libc] 增加#include <rtconfig.h> 防止开启termios功能后报错
Bernard Xiong 4 lat temu
rodzic
commit
d7c367d38b
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      components/libc/compilers/common/termios.h

+ 2 - 0
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>