Fix gdb.trace/ftrace-lock.c compilation
authorPedro Alves <palves@redhat.com>
Tue, 1 Mar 2016 17:42:47 +0000 (17:42 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 1 Mar 2016 17:42:47 +0000 (17:42 +0000)
commit86e501afd46d7f0d31738bd62457593401d79bad
treec29605a1434fea7f36eb7e61c1c67a03e7a7501e
parent1e903e320352db86233e1dd2d10fd140f5d4a887
Fix gdb.trace/ftrace-lock.c compilation

Fixes, on F23:

 .../src/gdb/testsuite/gdb.trace/ftrace-lock.c: In function 'gdb_agent_gdb_collect':
 .../src/gdb/testsuite/gdb.trace/ftrace-lock.c:50:3: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
    sleep (1);
    ^

gdb/testsuite/ChangeLog:
2016-03-01  Pedro Alves  <palves@redhat.com>

* gdb.trace/ftrace-lock.c: Include <unistd.h>.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/ftrace-lock.c