mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
NPTL: Add some missing #include's
This commit is contained in:
parent
ab49e7630f
commit
6af246cf8b
@ -1,5 +1,12 @@
|
|||||||
2014-10-20 Roland McGrath <roland@hack.frob.com>
|
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
|
* sysdeps/nptl/bits/libc-lock.h
|
||||||
[_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
|
[_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
|
||||||
(__libc_lock_init_recursive): Return void, not 0.
|
(__libc_lock_init_recursive): Return void, not 0.
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include <lowlevellock.h>
|
#include <lowlevellock.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <pthreadP.h>
|
#include <pthreadP.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <kernel-features.h>
|
#include <kernel-features.h>
|
||||||
|
|
||||||
#include <shlib-compat.h>
|
#include <shlib-compat.h>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include "pthreadP.h"
|
#include "pthreadP.h"
|
||||||
#include <lowlevellock.h>
|
#include <lowlevellock.h>
|
||||||
#include <not-cancel.h>
|
#include <not-cancel.h>
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <lowlevellock.h>
|
#include <lowlevellock.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <pthreadP.h>
|
#include <pthreadP.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <kernel-features.h>
|
#include <kernel-features.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <lowlevellock.h>
|
#include <lowlevellock.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <pthreadP.h>
|
#include <pthreadP.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <kernel-features.h>
|
#include <kernel-features.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include <lowlevellock.h>
|
#include <lowlevellock.h>
|
||||||
#include <internaltypes.h>
|
#include <internaltypes.h>
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include <pthreadP.h>
|
#include <pthreadP.h>
|
||||||
#include <shlib-compat.h>
|
#include <shlib-compat.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user