Browse Source

add sys/ioctl.h for posix_termios.h

Meco Man 4 years ago
parent
commit
5bce564738
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/libc/termios/posix_termios.h

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

@@ -10,8 +10,8 @@
 #ifndef TERMIOS_H__
 #ifndef TERMIOS_H__
 #define TERMIOS_H__
 #define TERMIOS_H__
 
 
-#include <rtthread.h>
 #include <sys/types.h>
 #include <sys/types.h>
+#include <sys/ioctl.h>
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {