diff options
| author | mysterywolf <[email protected]> | 2020-09-05 16:59:53 +0800 |
|---|---|---|
| committer | mysterywolf <[email protected]> | 2020-09-05 16:59:53 +0800 |
| commit | d5d8b345f4d9caacfd4dabce0d8ce374f7e7b81e (patch) | |
| tree | d8c8539977d5a96fdeb6d531cf403b3488d599c3 /components/libc/getline | |
| parent | 6fa049ee3dedb7fe1ca321ef5f367fdb4a498181 (diff) | |
修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
Diffstat (limited to 'components/libc/getline')
| -rw-r--r-- | components/libc/getline/posix_getline.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/getline/posix_getline.h b/components/libc/getline/posix_getline.h index 1b3e43da1e..3de84cdfe6 100644 --- a/components/libc/getline/posix_getline.h +++ b/components/libc/getline/posix_getline.h @@ -14,6 +14,7 @@ #define POSIX_GETLINE_H #include <stdio.h> +#include <sys/types.h> ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); ssize_t getline(char **lineptr, size_t *n, FILE *stream); |
