about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Examples/ex6.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index aef77ed4bb..fb309c7ab9 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+	* Examples/ex6.c: Include <unistd.h> for usleep.
+
 1998-06-13 11:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
 	* Examples/ex4.c (main): Use exit, not pthread_exit.
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)