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 e9d9d8d..dfad901 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 1698085..1c53bdd 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 a840f8e..c1bff9c 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 340ae3d..d3044fb 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 be94a20..560403f 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 7dfe51d..5d4c830 100644 --- a/nptl/sem_timedwait.c +++ b/nptl/sem_timedwait.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include -- 2.7.4