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>.
+2016-03-01 Pedro Alves <palves@redhat.com>
+
+ * gdb.trace/ftrace-lock.c: Include <unistd.h>.
+
2016-03-01 Pedro Alves <palves@redhat.com>
* gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <pthread.h>
+#include <unistd.h>
#include "trace-common.h"
/* Called if the testcase failed. */