소스 검색

first commit

roger 5 년 전
부모
커밋
8601850a21
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      components/libc/termios/posix_termios.c
  2. 1 0
      components/libc/termios/posix_termios.h

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

@@ -12,8 +12,6 @@
 #include <rtthread.h>
 #include <dfs_posix.h>
 
-#include <termios.h>
-
 int tcgetattr(int fd, struct termios *tio)
 {
     /* Get the current serial port settings. */

+ 1 - 0
components/libc/termios/posix_termios.h

@@ -11,6 +11,7 @@
 #define TERMIOS_H__
 
 #include <rtthread.h>
+#include <termios.h>
 
 #ifdef __cplusplus
 extern "C" {