瀏覽代碼

在posix_termios.c中引用termios.h

roger 5 年之前
父節點
當前提交
63a82cac47
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      components/libc/termios/posix_termios.c

+ 2 - 0
components/libc/termios/posix_termios.c

@@ -11,6 +11,8 @@
 #include <string.h>
 #include <rtthread.h>
 #include <dfs_posix.h>
+#include <termios.h>
+
 
 int tcgetattr(int fd, struct termios *tio)
 {