From 86e501afd46d7f0d31738bd62457593401d79bad Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 1 Mar 2016 17:42:47 +0000 Subject: [PATCH] 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 * gdb.trace/ftrace-lock.c: Include . --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.trace/ftrace-lock.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c992a59d889..aeb28376aac 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-03-01 Pedro Alves + + * gdb.trace/ftrace-lock.c: Include . + 2016-03-01 Pedro Alves * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h" diff --git a/gdb/testsuite/gdb.trace/ftrace-lock.c b/gdb/testsuite/gdb.trace/ftrace-lock.c index fd0d1f94aae..ed07694553c 100644 --- a/gdb/testsuite/gdb.trace/ftrace-lock.c +++ b/gdb/testsuite/gdb.trace/ftrace-lock.c @@ -16,6 +16,7 @@ along with this program. If not, see . */ #include +#include #include "trace-common.h" /* Called if the testcase failed. */ -- 2.30.2