Merge pull request #4070 from mysterywolf/getline

[bug] [libc] 增加#include <rtconfig.h> 防止开启termios功能后报错
This commit is contained in:
Bernard Xiong
2020-12-03 08:40:07 +08:00
committed by GitHub
@@ -9,6 +9,8 @@
#ifndef _TERMIOS_H__
#define _TERMIOS_H__
#include <rtconfig.h>
#ifdef RT_USING_POSIX_TERMIOS
#include <sys/types.h>
#include <posix_termios.h>