aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/pthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/pthreads.c')
-rw-r--r--gdb/testsuite/gdb.mi/pthreads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/pthreads.c b/gdb/testsuite/gdb.mi/pthreads.c
index ca62664..70fd521 100644
--- a/gdb/testsuite/gdb.mi/pthreads.c
+++ b/gdb/testsuite/gdb.mi/pthreads.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
+#include <unistd.h>
/* Under HPUX 10, the second arg of pthread_create
is prototyped to be just a "pthread_attr_t", while under Solaris it