summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-09-05 16:14:21 +0800
committermysterywolf <[email protected]>2020-09-05 16:14:21 +0800
commit74ab1551fd030e4950ae4f773cb19240c7a7a6d3 (patch)
treee234c3fd5fcd86a9f679fc2fb87d19f109b3ed71 /components/libc
parenta41ebbb69778af8d160fe9207d6d353dc9c141d1 (diff)
add posix 2008 limit.h
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/getline/README.md2
-rw-r--r--components/libc/getline/posix_getline.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/getline/README.md b/components/libc/getline/README.md
index 8f52898c82..3ba5a96b3d 100644
--- a/components/libc/getline/README.md
+++ b/components/libc/getline/README.md
@@ -1,4 +1,4 @@
-# getline/getdelim for RT-Thread POSIX
+# getline/getdelim for RT-Thread POSIX(IEEE Std 1003.1-2008)
[![Build Status](https://travis-ci.org/ivanrad/getline.svg?branch=master)](https://travis-ci.org/ivanrad/getline)
diff --git a/components/libc/getline/posix_getline.c b/components/libc/getline/posix_getline.c
index d4a7d3fce6..9853d09439 100644
--- a/components/libc/getline/posix_getline.c
+++ b/components/libc/getline/posix_getline.c
@@ -12,7 +12,7 @@
#include <posix_getline.h>
#include <stdlib.h>
#include <errno.h>
-#include <limits.h>
+#include <rtlibc.h>
ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream) {
char *cur_pos, *new_lineptr;