gdb.base/info-os.c: Include stdlib.h
authorPedro Alves <palves@redhat.com>
Mon, 23 Feb 2015 14:03:48 +0000 (14:03 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 23 Feb 2015 14:03:48 +0000 (14:03 +0000)
commite5b85ead638e4916ee188698e434dd1940e484e4
tree4966345cb510e39177b30d19627940ce7f12bacd
parentcb967f0d6ce36d566d97cf37b298265434fb6db5
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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/info-os.c