[PATCH] Fix compiler warning in common/gentmap.c

Thiemo Seufer ths@networkno.de
Tue Nov 7 19:36:00 GMT 2006


Hello All,

I applied the appended patch as obvious.


Thiemo


2006-11-07  Thiemo Seufer  <ths@mips.com>

	* gentmap.c: Fix compile time warning.


Index: gentmap.c
===================================================================
RCS file: /cvs/src/src/sim/common/gentmap.c,v
retrieving revision 1.2
diff -u -p -r1.2 gentmap.c
--- gentmap.c	9 Jun 2002 15:45:45 -0000	1.2
+++ gentmap.c	7 Nov 2006 19:29:08 -0000
@@ -1,6 +1,7 @@
 /* Generate targ-vals.h and targ-map.c.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 
 struct tdefs {
   char *symbol;



More information about the Gdb-patches mailing list