diff options
author | Andreas Jaeger <aj@suse.de> | 2001-12-29 13:45:59 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-12-29 13:45:59 +0000 |
commit | 1a0ad47f268b65ad2b7b131f3f735a69fe6da860 (patch) | |
tree | 800d220409c382d5a9e37fe6d3c91b0cfe0d5a26 /linuxthreads | |
parent | 961d4a2eb2038950aae5d302f3d8e2d886c63e40 (diff) | |
download | glibc-1a0ad47f268b65ad2b7b131f3f735a69fe6da860.zip glibc-1a0ad47f268b65ad2b7b131f3f735a69fe6da860.tar.gz glibc-1a0ad47f268b65ad2b7b131f3f735a69fe6da860.tar.bz2 |
Include unistd.h for prototype of sleep.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/Examples/ex18.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/Examples/ex18.c b/linuxthreads/Examples/ex18.c index 642f6b4..283396b 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; |