NPTL: Add some missing #include's

This commit is contained in:
Roland McGrath 2014-10-20 14:46:00 -07:00
parent ab49e7630f
commit 6af246cf8b
6 changed files with 12 additions and 0 deletions

View File

@ -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.

View File

@ -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>

View File

@ -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>

View File

@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
#include <sys/time.h>
#include <kernel-features.h>

View File

@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
#include <sys/time.h>
#include <kernel-features.h>

View File

@ -22,6 +22,7 @@
#include <lowlevellock.h>
#include <internaltypes.h>
#include <semaphore.h>
#include <sys/time.h>
#include <pthreadP.h>
#include <shlib-compat.h>