浏览代码

[Termios]Fix compile error for gcc and iar.

Fix compile error for gcc and iar.Add termios.h to newlib and dlib
JasonJiaJie 7 年之前
父节点
当前提交
3454484346
共有 2 个文件被更改,包括 14 次插入0 次删除
  1. 7 0
      components/libc/compilers/dlib/termios.h
  2. 7 0
      components/libc/compilers/newlib/termios.h

+ 7 - 0
components/libc/compilers/dlib/termios.h

@@ -0,0 +1,7 @@
+#ifndef _TERMIOS_H__
+#define _TERMIOS_H__
+
+#include <sys/types.h>
+#include <posix_termios.h>
+
+#endif

+ 7 - 0
components/libc/compilers/newlib/termios.h

@@ -0,0 +1,7 @@
+#ifndef _TERMIOS_H__
+#define _TERMIOS_H__
+
+#include <sys/types.h>
+#include <posix_termios.h>
+
+#endif