about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/no-tsd.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 164b7d5fd5..0e82d60683 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-09  Jakub Jelinek  <jakub@redhat.com>
+
+	* no-tsd.c: Include stdlib.h.
+
 2002-10-07  Jakub Jelinek  <jakub@redhat.com>
 
 	* sysdeps/unix/sysv/linux/allocalim.h: New file.
diff --git a/linuxthreads/no-tsd.c b/linuxthreads/no-tsd.c
index de6c2945aa..c1cc3adc0f 100644
--- a/linuxthreads/no-tsd.c
+++ b/linuxthreads/no-tsd.c
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <sys/cdefs.h>  /* for __const */
+#include <stdlib.h>
 #include <bits/libc-tsd.h>
 
 #if !(USE_TLS && HAVE___THREAD)