summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/termios.h
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-09-08 10:26:03 +0800
committermysterywolf <[email protected]>2020-09-08 10:26:03 +0800
commit237a71de278b16aa3df3e98f49714ef17cdf0c2b (patch)
tree4782e6407698ac91651678a868f9c87b558f77f9 /components/libc/compilers/common/termios.h
parent0eadf69f81b2f77eed0cf7a35acdf50c03cc48a4 (diff)
修复common文件夹,该文件夹为armlibc/newlib/dlib的共同文件的文件夹
Diffstat (limited to 'components/libc/compilers/common/termios.h')
-rw-r--r--components/libc/compilers/common/termios.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/libc/compilers/common/termios.h b/components/libc/compilers/common/termios.h
new file mode 100644
index 0000000000..ee2b4d5718
--- /dev/null
+++ b/components/libc/compilers/common/termios.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ */
+#ifndef _TERMIOS_H__
+#define _TERMIOS_H__
+
+#ifdef RT_USING_POSIX_TERMIOS
+#include <sys/types.h>
+#include <posix_termios.h>
+#endif
+
+#endif