Include unistd.h for prototype of sleep.
authorAndreas Jaeger <aj@suse.de>
Sat, 29 Dec 2001 13:45:59 +0000 (13:45 +0000)
committerAndreas Jaeger <aj@suse.de>
Sat, 29 Dec 2001 13:45:59 +0000 (13:45 +0000)
linuxthreads/Examples/ex18.c

index 642f6b4..283396b 100644 (file)
@@ -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;