[COMMITTED] NPTL: Add some missing #include's
Commit Message
This has no effect on generated code, but eliminates some warnings in some
configurations.
Thanks,
Roland
* 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.
@@ -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>
@@ -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>
@@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
+#include <sys/time.h>
#include <kernel-features.h>
@@ -21,6 +21,7 @@
#include <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
+#include <sys/time.h>
#include <kernel-features.h>
@@ -22,6 +22,7 @@
#include <lowlevellock.h>
#include <internaltypes.h>
#include <semaphore.h>
+#include <sys/time.h>
#include <pthreadP.h>
#include <shlib-compat.h>