diff options
| author | Bernard Xiong <[email protected]> | 2020-10-11 09:36:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-11 09:36:32 +0800 |
| commit | b1f528ea69aea916918f290f2694ddd7c741d521 (patch) | |
| tree | 82fb04c43c386a2e78edb24bf465e696c9dacc74 /components | |
| parent | aeff91b2a7fc846cf3724c01c28fbd7327bd2bac (diff) | |
| parent | 96acad78ba50c636a95ffa17dd9e05444908a3a5 (diff) | |
Merge pull request #3945 from mysterywolf/getline3
将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/compilers/common/unistd.c | 2 | ||||
| -rw-r--r-- | components/libc/getline/README.md | 4 | ||||
| -rw-r--r-- | components/libc/getline/posix_getline.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/components/libc/compilers/common/unistd.c b/components/libc/compilers/common/unistd.c index 4068fc5cf5..df970b2b59 100644 --- a/components/libc/compilers/common/unistd.c +++ b/components/libc/compilers/common/unistd.c @@ -11,7 +11,7 @@ #include <unistd.h> #ifdef RT_USING_POSIX_TERMIOS -#include <termios.h> +#include "termios.h" int isatty(int fd) { diff --git a/components/libc/getline/README.md b/components/libc/getline/README.md index 3ba5a96b3d..0b279755d3 100644 --- a/components/libc/getline/README.md +++ b/components/libc/getline/README.md @@ -11,9 +11,7 @@ These are ersatz functions, a drop-in replacement, to be used on those occasions For more details, see [Open Group Base Specification for getdelim/getline][opengroup-spec]. -## Building the project -Just run `make`. ## License @@ -22,6 +20,8 @@ This code is unlicensed -- free and released into the public domain. See `UNLICE [opengroup-spec]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html + + ## 联系&维护 Meco Man diff --git a/components/libc/getline/posix_getline.c b/components/libc/getline/posix_getline.c index 2c60ca7647..e2ac278242 100644 --- a/components/libc/getline/posix_getline.c +++ b/components/libc/getline/posix_getline.c @@ -10,7 +10,7 @@ * Meco Man 2020-09-03 First Version */ -#include <posix_getline.h> +#include "posix_getline.h" #include <stdlib.h> #include <errno.h> #include <rtlibc.h> |
