Browse Source

first commit

roger 5 years ago
parent
commit
8601850a21

+ 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" {