summaryrefslogtreecommitdiff
path: root/examples/libc/ex3.c
diff options
context:
space:
mode:
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>