aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/pthreads.c
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-09-14 20:28:25 +0000
committerMichael Chastain <mec@google.com>2004-09-14 20:28:25 +0000
commit2222769610355498932c9439a30c23dd64310709 (patch)
tree6dac58ca379d26f73f2649b05a91806cc5e63db5 /gdb/testsuite/gdb.threads/pthreads.c
parent7e1792e01868240492e505a95a5e00db00d51f3c (diff)
downloadfsf-binutils-gdb-2222769610355498932c9439a30c23dd64310709.zip
fsf-binutils-gdb-2222769610355498932c9439a30c23dd64310709.tar.gz
fsf-binutils-gdb-2222769610355498932c9439a30c23dd64310709.tar.bz2
2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/killed.c: Include <stdlib.h>. * gdb.threads/pthreads.c: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.threads/pthreads.c')
-rw-r--r--gdb/testsuite/gdb.threads/pthreads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/pthreads.c b/gdb/testsuite/gdb.threads/pthreads.c
index d82d550..abedb24 100644
--- a/gdb/testsuite/gdb.threads/pthreads.c
+++ b/gdb/testsuite/gdb.threads/pthreads.c
@@ -1,5 +1,5 @@
/* Pthreads test program.
- Copyright 1996, 2002, 2003
+ Copyright 1996, 2002, 2003, 2004
Free Software Foundation, Inc.
Written by Fred Fish of Cygnus Support
@@ -23,6 +23,7 @@
Boston, MA 02111-1307, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include <pthread.h>
/* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create