Browse Source

[Termios]Fix compile error for gcc and iar.

Fix compile error for gcc and iar.Add termios.h to newlib and dlib
JasonJiaJie 7 years ago
parent
commit
3454484346

+ 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