This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-100-g6af246c
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 20 Oct 2014 21:50:27 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-100-g6af246c
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 6af246cf8b6cac6e504aaf06c47b284a204335e0 (commit)
from ab49e7630f88ba9cc165dd2d855938c14ae4e158 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6af246cf8b6cac6e504aaf06c47b284a204335e0
commit 6af246cf8b6cac6e504aaf06c47b284a204335e0
Author: Roland McGrath <roland@hack.frob.com>
Date: Mon Oct 20 14:46:00 2014 -0700
NPTL: Add some missing #include's
diff --git a/ChangeLog b/ChangeLog
index e9d9d8d..dfad901 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2014-10-20 Roland McGrath <roland@hack.frob.com>
+ * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> 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 <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
+#include <sys/time.h>
#include <kernel-features.h>
#include <shlib-compat.h>
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 <errno.h>
#include <time.h>
#include <sys/param.h>
+#include <sys/time.h>
#include "pthreadP.h"
#include <lowlevellock.h>
#include <not-cancel.h>
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 <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
+#include <sys/time.h>
#include <kernel-features.h>
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 <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
+#include <sys/time.h>
#include <kernel-features.h>
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 <lowlevellock.h>
#include <internaltypes.h>
#include <semaphore.h>
+#include <sys/time.h>
#include <pthreadP.h>
#include <shlib-compat.h>
-----------------------------------------------------------------------
Summary of changes:
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(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources