aboutsummaryrefslogtreecommitdiff
path: root/rt/tst-aio2.c
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2012-09-28 01:08:17 +0200
committerPino Toscano <toscano.pino@tiscali.it>2012-09-28 01:08:17 +0200
commitc39bc8b8254364fda301a89180130c3586859d75 (patch)
treedf72c9932ec2c757f5cd4c4cd000cbf32e8e2bca /rt/tst-aio2.c
parent1ccc2399144ecf95f0246326d2dae30bf95e6107 (diff)
downloadglibc-c39bc8b8254364fda301a89180130c3586859d75.zip
glibc-c39bc8b8254364fda301a89180130c3586859d75.tar.gz
glibc-c39bc8b8254364fda301a89180130c3586859d75.tar.bz2
Include <pthread.h> where needed.
Diffstat (limited to 'rt/tst-aio2.c')
-rw-r--r--rt/tst-aio2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/tst-aio2.c b/rt/tst-aio2.c
index 897d37d..01a94fe 100644
--- a/rt/tst-aio2.c
+++ b/rt/tst-aio2.c
@@ -1,5 +1,5 @@
/* Test for notification mechanism in lio_listio.
- Copyright (C) 2000, 2002, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2000-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
+#include <pthread.h>
static pthread_barrier_t b;