File crash-missing-declarations.patch of Package crash

From: Petr Tesarik <ptesarik@suse.cz>
Subject: Add missing includes

This fixes a compilation failure on ppc64.

---
 gdb-7.3.1.patch |   10 ++++++++++
 1 file changed, 10 insertions(+)

--- a/gdb-7.3.1.patch
+++ b/gdb-7.3.1.patch
@@ -1253,6 +1253,16 @@
  	./pex-djgpp.$(objext) ./pex-msdos.$(objext)			\
  	 ./pex-unix.$(objext) ./pex-win32.$(objext)			\
  	 ./putenv.$(objext)						\
+--- gdb-7.3.1/sim/common/gentmap.c.orig
++++ gdb-7.3.1/sim/common/gentmap.c
+@@ -2,6 +2,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ 
+ struct tdefs {
+   char *symbol;
 --- gdb-7.3.1/gdb/symtab.c.orig
 +++ gdb-7.3.1/gdb/symtab.c
 @@ -4951,10 +4951,17 @@ static void
openSUSE Build Service is sponsored by