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>.
This commit is contained in:
parent
1e903e3203
commit
86e501afd4
|
@ -1,3 +1,7 @@
|
|||
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"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
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. */
|
||||
|
|
Loading…
Reference in New Issue