summaryrefslogtreecommitdiff
path: root/examples/libc/ex7.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libc/ex7.c')
-rw-r--r--examples/libc/ex7.c2
1 files changed, 1 insertions, 1 deletions
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>