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.
+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
#include <arpa/inet.h>
#include <sys/socket.h>
#include <unistd.h>
+#include <stdlib.h>
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;