summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-05-23 00:25:49 +0800
committerMeco Man <[email protected]>2021-05-23 00:25:49 +0800
commit5bce56473857e9145b34c77b4355494744838e37 (patch)
tree085df3c49e1b91a91e57de69692b3724e5eaf250 /components
parent0e32728a5d688c51bc844617de7d89d7fdbe34d0 (diff)
add sys/ioctl.h for posix_termios.h
Diffstat (limited to 'components')
-rw-r--r--components/libc/termios/posix_termios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/termios/posix_termios.h b/components/libc/termios/posix_termios.h
index 5bd1999b0a..6dc5531955 100644
--- a/components/libc/termios/posix_termios.h
+++ b/components/libc/termios/posix_termios.h
@@ -10,8 +10,8 @@
#ifndef TERMIOS_H__
#define TERMIOS_H__
-#include <rtthread.h>
#include <sys/types.h>
+#include <sys/ioctl.h>
#ifdef __cplusplus
extern "C" {