From 3454484346f471ccdbee2cb1fc654edf37a388b0 Mon Sep 17 00:00:00 2001 From: JasonJiaJie Date: Thu, 7 Dec 2017 17:52:20 +0800 Subject: [PATCH] [Termios]Fix compile error for gcc and iar. Fix compile error for gcc and iar.Add termios.h to newlib and dlib --- components/libc/compilers/dlib/termios.h | 7 +++++++ components/libc/compilers/newlib/termios.h | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 components/libc/compilers/dlib/termios.h create mode 100644 components/libc/compilers/newlib/termios.h diff --git a/components/libc/compilers/dlib/termios.h b/components/libc/compilers/dlib/termios.h new file mode 100644 index 0000000000..0b54066a76 --- /dev/null +++ b/components/libc/compilers/dlib/termios.h @@ -0,0 +1,7 @@ +#ifndef _TERMIOS_H__ +#define _TERMIOS_H__ + +#include +#include + +#endif diff --git a/components/libc/compilers/newlib/termios.h b/components/libc/compilers/newlib/termios.h new file mode 100644 index 0000000000..0b54066a76 --- /dev/null +++ b/components/libc/compilers/newlib/termios.h @@ -0,0 +1,7 @@ +#ifndef _TERMIOS_H__ +#define _TERMIOS_H__ + +#include +#include + +#endif