浏览代码

增加#include <rtconfig.h> 防止开启termios功能后报错

Meco Man 4 年之前
父节点
当前提交
54143409ca
共有 1 个文件被更改,包括 2 次插入0 次删除
  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>