diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2012-09-28 01:08:17 +0200 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2012-09-28 01:08:17 +0200 |
commit | c39bc8b8254364fda301a89180130c3586859d75 (patch) | |
tree | df72c9932ec2c757f5cd4c4cd000cbf32e8e2bca | |
parent | 1ccc2399144ecf95f0246326d2dae30bf95e6107 (diff) | |
download | glibc-c39bc8b8254364fda301a89180130c3586859d75.tar.gz glibc-c39bc8b8254364fda301a89180130c3586859d75.tar.xz glibc-c39bc8b8254364fda301a89180130c3586859d75.zip |
Include <pthread.h> where needed.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | rt/tst-aio2.c | 3 | ||||
-rw-r--r-- | rt/tst-aio3.c | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index d2b2e24e6f..c55a72e271 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-09-28 Pino Toscano <toscano.pino@tiscali.it> + + * rt/tst-aio2.c: Include <pthread.h>. + * rt/tst-aio3.c: Likewise. + 2012-09-27 Steve Ellcey <sellcey@mips.com> * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove. diff --git a/rt/tst-aio2.c b/rt/tst-aio2.c index 897d37d8bd..01a94fe270 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; diff --git a/rt/tst-aio3.c b/rt/tst-aio3.c index 4d1fe8e979..133e386cd3 100644 --- a/rt/tst-aio3.c +++ b/rt/tst-aio3.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. The GNU C Library is free software; you can redistribute it and/or @@ -22,6 +22,7 @@ #include <stdlib.h> #include <unistd.h> #include <errno.h> +#include <pthread.h> static pthread_barrier_t b; |