summaryrefslogtreecommitdiff
path: root/examples/libc/ex3.c
diff options
context:
space:
mode:
authorguo <[email protected]>2021-06-13 09:36:29 +0800
committerGitHub <[email protected]>2021-06-13 09:36:29 +0800
commitb516cbd2ae6f2f111a1aa6a977f9a20bada6305d (patch)
tree5802e9e87cc54cb3b80ef58fd4f7e051fe093155 /examples/libc/ex3.c
parent4595ada2ce7c9e7bacad161f19e6e62ca2053afe (diff)
parent4c625fcb2fd03823e29dc975cde4d8fe88f48145 (diff)
Merge pull request #4790 from mysterywolf/errno
[master][rtlibc] remove libc_errno.h & libc_limits.h
Diffstat (limited to 'examples/libc/ex3.c')
-rw-r--r--examples/libc/ex3.c2
1 files changed, 1 insertions, 1 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>