summaryrefslogtreecommitdiff
path: root/examples/libc/ex3.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-05-22 02:50:35 +0800
committerMeco Man <[email protected]>2021-05-22 02:50:35 +0800
commita5f7635f31b237ad8ce09610ee76a75f4072e7d4 (patch)
tree970e831792484a13cc3dfc28d218ec65c6f757b1 /examples/libc/ex3.c
parent126af8e43c8a84d625cb9043c1fbb3d8f3016030 (diff)
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>