From 6af246cf8b6cac6e504aaf06c47b284a204335e0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 20 Oct 2014 14:46:00 -0700 Subject: [PATCH] NPTL: Add some missing #include's --- ChangeLog | 7 +++++++ nptl/pthread_cond_timedwait.c | 1 + nptl/pthread_mutex_timedlock.c | 1 + nptl/pthread_rwlock_timedrdlock.c | 1 + nptl/pthread_rwlock_timedwrlock.c | 1 + nptl/sem_timedwait.c | 1 + 6 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index e9d9d8d7376..dfad9010524 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2014-10-20 Roland McGrath + * nptl/pthread_rwlock_timedrdlock.c: #include before using + gettimeofday. + * nptl/pthread_rwlock_timedwrlock.c: Likewise. + * nptl/pthread_cond_timedwait.c: Likewise. + * nptl/pthread_mutex_timedlock.c: Likewise. + * nptl/sem_timedwait.c: Likewise. + * sysdeps/nptl/bits/libc-lock.h [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)] (__libc_lock_init_recursive): Return void, not 0. diff --git a/nptl/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c index 1698085361f..1c53bdddc3b 100644 --- a/nptl/pthread_cond_timedwait.c +++ b/nptl/pthread_cond_timedwait.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c index a840f8eb6d1..c1bff9cf00f 100644 --- a/nptl/pthread_mutex_timedlock.c +++ b/nptl/pthread_mutex_timedlock.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "pthreadP.h" #include #include diff --git a/nptl/pthread_rwlock_timedrdlock.c b/nptl/pthread_rwlock_timedrdlock.c index 340ae3d3941..d3044fb047e 100644 --- a/nptl/pthread_rwlock_timedrdlock.c +++ b/nptl/pthread_rwlock_timedrdlock.c @@ -21,6 +21,7 @@ #include #include #include +#include #include diff --git a/nptl/pthread_rwlock_timedwrlock.c b/nptl/pthread_rwlock_timedwrlock.c index be94a207f6b..560403f50ab 100644 --- a/nptl/pthread_rwlock_timedwrlock.c +++ b/nptl/pthread_rwlock_timedwrlock.c @@ -21,6 +21,7 @@ #include #include #include +#include #include diff --git a/nptl/sem_timedwait.c b/nptl/sem_timedwait.c index 7dfe51dd8be..5d4c83090fc 100644 --- a/nptl/sem_timedwait.c +++ b/nptl/sem_timedwait.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include -- 2.39.5