mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 16:53:30 +08:00
[Termios]Fix compile error for gcc and iar.
Fix compile error for gcc and iar.Add termios.h to newlib and dlib
This commit is contained in:
parent
3a23c59c29
commit
bd4c90f619
7
components/libc/compilers/dlib/termios.h
Normal file
7
components/libc/compilers/dlib/termios.h
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef _TERMIOS_H__
|
||||
#define _TERMIOS_H__
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <posix_termios.h>
|
||||
|
||||
#endif
|
7
components/libc/compilers/newlib/termios.h
Normal file
7
components/libc/compilers/newlib/termios.h
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef _TERMIOS_H__
|
||||
#define _TERMIOS_H__
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <posix_termios.h>
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user