diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/non-stop.c | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/nsthrexec.c | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/pthreads.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/non-stop.c b/gdb/testsuite/gdb.mi/non-stop.c index ef62374..5acfefa 100644 --- a/gdb/testsuite/gdb.mi/non-stop.c +++ b/gdb/testsuite/gdb.mi/non-stop.c @@ -19,6 +19,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 diff --git a/gdb/testsuite/gdb.mi/nsthrexec.c b/gdb/testsuite/gdb.mi/nsthrexec.c index 00e779f..ee001b4 100644 --- a/gdb/testsuite/gdb.mi/nsthrexec.c +++ b/gdb/testsuite/gdb.mi/nsthrexec.c @@ -18,6 +18,7 @@ #include <pthread.h> #include <unistd.h> #include <stdlib.h> +#include <stdio.h> static const char *image; 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 |