[patch/testsuite] unload.c: Add #include
Michael Chastain
mec.gnu@mindspring.com
Thu Aug 26 19:25:00 GMT 2004
gcc HEAD new warning strikes some more.
Tested on native i686-pc-linux-gnu, gcc 2.95.3 3.3.4 3.4.1 HEAD,
dwarf-2 and stabs+.
I am committing this now.
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/unload.c: Include <stdlib.h>.
Index: gdb.base/unload.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/unload.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 unload.c
*** gdb.base/unload.c 15 Aug 2004 10:24:08 -0000 1.2
--- gdb.base/unload.c 26 Aug 2004 19:21:15 -0000
***************
*** 17,22 ****
--- 17,23 ----
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <stdio.h>
+ #include <stdlib.h>
#include <dlfcn.h>
int k = 0;
More information about the Gdb-patches
mailing list