Skip to content

Commit b1f528e

Browse files
authored
Merge pull request #3945 from mysterywolf/getline3
将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧
2 parents aeff91b + 96acad7 commit b1f528e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/libc/compilers/common/unistd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <unistd.h>
1212

1313
#ifdef RT_USING_POSIX_TERMIOS
14-
#include <termios.h>
14+
#include "termios.h"
1515

1616
int isatty(int fd)
1717
{

components/libc/getline/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ These are ersatz functions, a drop-in replacement, to be used on those occasions
1111

1212
For more details, see [Open Group Base Specification for getdelim/getline][opengroup-spec].
1313

14-
## Building the project
1514

16-
Just run `make`.
1715

1816
## License
1917

@@ -22,6 +20,8 @@ This code is unlicensed -- free and released into the public domain. See `UNLICE
2220
[opengroup-spec]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html
2321

2422

23+
24+
2525
## 联系&维护
2626
Meco Man
2727

components/libc/getline/posix_getline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Meco Man 2020-09-03 First Version
1111
*/
1212

13-
#include <posix_getline.h>
13+
#include "posix_getline.h"
1414
#include <stdlib.h>
1515
#include <errno.h>
1616
#include <rtlibc.h>

0 commit comments

Comments
 (0)