diff options
| author | Meco Jianting Man <[email protected]> | 2021-06-13 16:19:59 +0800 |
|---|---|---|
| committer | Meco Jianting Man <[email protected]> | 2021-06-13 16:19:59 +0800 |
| commit | 4fd407461793613fd2f0fc74f85b194b68df9447 (patch) | |
| tree | 46c71c9be7294a5d9870f83c4f2edb4a28b75729 /examples/libc | |
| parent | fbcaa667f87be5c5a3e1502d12facd24ca5b2234 (diff) | |
| parent | b24447a60a6941568d58dd1ca358951674924ed2 (diff) | |
Merge branch 'RT-Thread:master' into ioctl
Diffstat (limited to 'examples/libc')
| -rw-r--r-- | examples/libc/ex3.c | 2 | ||||
| -rw-r--r-- | examples/libc/ex6.c | 2 | ||||
| -rw-r--r-- | examples/libc/ex7.c | 2 | ||||
| -rw-r--r-- | examples/libc/file.c | 2 | ||||
| -rw-r--r-- | examples/libc/memory.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/libc/ex3.c b/examples/libc/ex3.c index 1697e7145b..615ed8f35c 100644 --- a/examples/libc/ex3.c +++ b/examples/libc/ex3.c @@ -9,7 +9,7 @@ /* Multi-thread searching. Illustrates: thread cancellation, cleanup handlers. */ -#include <errno.h> +#include <sys/errno.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> diff --git a/examples/libc/ex6.c b/examples/libc/ex6.c index ac6319d74c..ba687aa46f 100644 --- a/examples/libc/ex6.c +++ b/examples/libc/ex6.c @@ -6,7 +6,7 @@ * Change Logs: * Date Author Notes */ -#include <errno.h> +#include <sys/errno.h> #include <stdio.h> #include <string.h> #include <pthread.h> diff --git a/examples/libc/ex7.c b/examples/libc/ex7.c index e885f79c57..d1f05dbdcd 100644 --- a/examples/libc/ex7.c +++ b/examples/libc/ex7.c @@ -11,7 +11,7 @@ * Test case that illustrates a timed wait on a condition variable. */ -#include <errno.h> +#include <sys/errno.h> #include <stdio.h> #include <string.h> #include <pthread.h> diff --git a/examples/libc/file.c b/examples/libc/file.c index 79cdce3092..878d3a98d7 100644 --- a/examples/libc/file.c +++ b/examples/libc/file.c @@ -11,7 +11,7 @@ #include <stdio.h> #include <stdlib.h> #include <finsh.h> -#include <errno.h> +#include <sys/errno.h> #include <sys/fcntl.h> #include <sys/stat.h> diff --git a/examples/libc/memory.c b/examples/libc/memory.c index 063d90cfdc..4a31b69017 100644 --- a/examples/libc/memory.c +++ b/examples/libc/memory.c @@ -11,7 +11,7 @@ #include <stdio.h> #include <stdlib.h> #include <finsh.h> -#include <errno.h> +#include <sys/errno.h> static int errors = 0; static void merror(const char *msg) |
