]> sourceware.org Git - glibc.git/commitdiff
NPTL: Add some missing #include's
authorRoland McGrath <roland@hack.frob.com>
Mon, 20 Oct 2014 21:46:00 +0000 (14:46 -0700)
committerRoland McGrath <roland@hack.frob.com>
Mon, 20 Oct 2014 21:46:00 +0000 (14:46 -0700)
ChangeLog
nptl/pthread_cond_timedwait.c
nptl/pthread_mutex_timedlock.c
nptl/pthread_rwlock_timedrdlock.c
nptl/pthread_rwlock_timedwrlock.c
nptl/sem_timedwait.c

index e9d9d8d7376fa0e60ed75ddaba16c98e93729a06..dfad901052430856d2e737b3f867e58ed5d25bd1 100644 (file)
--- 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.
index 1698085361f1992e88083025e44142dea4de56a1..1c53bdddc3b010d3c6f71b013f27405243c019bd 100644 (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>
index a840f8eb6d16a6f0d4cd56bae2a3bce1a7516d04..c1bff9cf00fbe72430e8e12698bcec47595aee9c 100644 (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>
index 340ae3d3941c241b6b0740e550887f9757b4cede..d3044fb047e7f22ca7768ab79f259c2af59f2580 100644 (file)
@@ -21,6 +21,7 @@
 #include <lowlevellock.h>
 #include <pthread.h>
 #include <pthreadP.h>
+#include <sys/time.h>
 #include <kernel-features.h>
 
 
index be94a207f6b56440ff15f420f843b7b7e3c40ef4..560403f50ab3e6feec2300f12e9982d351c26753 100644 (file)
@@ -21,6 +21,7 @@
 #include <lowlevellock.h>
 #include <pthread.h>
 #include <pthreadP.h>
+#include <sys/time.h>
 #include <kernel-features.h>
 
 
index 7dfe51dd8bea871a81c4aa353563e6d19f5d7b5e..5d4c83090fcdaf5de67aee2c6b6f3c9511b05224 100644 (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>
This page took 0.12468 seconds and 5 git commands to generate.