gdb.base/info-os.c: Include stdlib.h
Fixes: > gdb compile failed, /gdb/testsuite/gdb.base/info-os.c: In function 'main': > /gdb/testsuite/gdb.base/info-os.c:65:3: warning: implicit declaration of function 'atexit' [-Wimplicit-function-declaration] > atexit (ipc_cleanup); > ^ > FAIL: gdb.base/info-os.exp: cannot compile test program with recent GCCs. gdb/testsuite/ChangeLog: 2015-02-23 Pedro Alves <palves@redhat.com> * gdb.base/info-os.c: Include stdlib.h.
This commit is contained in:
parent
cb967f0d6c
commit
e5b85ead63
|
@ -1,3 +1,7 @@
|
|||
2015-02-23 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/info-os.c: Include stdlib.h.
|
||||
|
||||
2015-02-22 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
PR symtab/17855
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
|
|
Loading…
Reference in New Issue