diff options
| author | guozhanxin <[email protected]> | 2021-07-12 10:14:20 +0800 |
|---|---|---|
| committer | guozhanxin <[email protected]> | 2021-07-12 10:14:20 +0800 |
| commit | 40e7d5a23df65c15bb7db53fe5f77e76701fd20d (patch) | |
| tree | 4973b28b01d289dd596a097a7560f26b810db771 /examples/libc | |
| parent | ddc5c793a482fe44310bafe181802ad406fa1b29 (diff) | |
| parent | 5bae565f7f021ab13113fc0a9c67fc468d97de02 (diff) | |
Merge remote-tracking branch 'remotes/gitee/master'
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) |
