aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nptl/ChangeLog2
-rw-r--r--nptl/pthread_cond_timedwait.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 4506e3da69..187b443359 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,7 @@
2002-12-02 Ulrich Drepper <drepper@redhat.com>
+ * pthread_cond_timedwait.c: Include <stdlib.h>.
+
* Makefile (tests): Add tst-fork2 and tst-fork3.
* tst-fork2.c: New file.
* tst-fork3.c: New file.
diff --git a/nptl/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c
index 792dbdc49d..826d16fb02 100644
--- a/nptl/pthread_cond_timedwait.c
+++ b/nptl/pthread_cond_timedwait.c
@@ -17,6 +17,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <stdlib.h>
+
#include "pthreadP.h"
#include <lowlevellock.h>