about summary refs log tree commit diff
path: root/linuxthreads/Examples/ex6.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Examples/ex6.c')
-rw-r--r--linuxthreads/Examples/ex6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/Examples/ex6.c b/linuxthreads/Examples/ex6.c
index 32621d33df..7853376394 100644
--- a/linuxthreads/Examples/ex6.c
+++ b/linuxthreads/Examples/ex6.c
@@ -2,6 +2,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <pthread.h>
+#include <unistd.h>
 
 void *
 test_thread (void *v_param)