about summary refs log tree commit diff
path: root/linuxthreads/Examples
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-12-29 13:45:59 +0000
committerAndreas Jaeger <aj@suse.de>2001-12-29 13:45:59 +0000
commit1a0ad47f268b65ad2b7b131f3f735a69fe6da860 (patch)
tree800d220409c382d5a9e37fe6d3c91b0cfe0d5a26 /linuxthreads/Examples
parent961d4a2eb2038950aae5d302f3d8e2d886c63e40 (diff)
downloadglibc-1a0ad47f268b65ad2b7b131f3f735a69fe6da860.tar.gz
glibc-1a0ad47f268b65ad2b7b131f3f735a69fe6da860.tar.xz
glibc-1a0ad47f268b65ad2b7b131f3f735a69fe6da860.zip
Include unistd.h for prototype of sleep.
Diffstat (limited to 'linuxthreads/Examples')
-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;