sparc: fix build of gdb/testsuite/gdb.arch/sparc-sysstep.c
authorJose E. Marchesi <jose.marchesi@oracle.com>
Fri, 20 Nov 2015 09:48:56 +0000 (10:48 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Fri, 20 Nov 2015 09:48:56 +0000 (10:48 +0100)
commit9c88ed8f116dc5f9471280c73f9ab08c81a86f2d
tree5be6a7a2667adfb7fb6cd1fe2ad9756f817476a9
parent96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e
sparc: fix build of gdb/testsuite/gdb.arch/sparc-sysstep.c

This patch adds a missing include that makes the test program to not
be built (--Wimplicit-function-declaration).

gdb/testsuite/ChangeLog:

2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>

     * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/sparc-sysstep.c