about summary refs log tree commit diff
path: root/linuxthreads/Examples/ex18.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Examples/ex18.c')
-rw-r--r--linuxthreads/Examples/ex18.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/Examples/ex18.c b/linuxthreads/Examples/ex18.c
index 642f6b44cd..283396bede 100644
--- a/linuxthreads/Examples/ex18.c
+++ b/linuxthreads/Examples/ex18.c
@@ -11,6 +11,7 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <pthread.h>
+#include <unistd.h>
 
 const int beatup_iterations = 10000;
 const int num_threads = 30;