File crash-missing-declarations.patch of Package crash.24895
From: Petr Tesarik <ptesarik@suse.cz>
Subject: Add missing includes
This fixes a compilation failure on ppc64.
---
gdb-7.6.patch | 10 ++++++++++
1 file changed, 10 insertions(+)
Index: crash-7.2.7/gdb-7.6.patch
===================================================================
--- crash-7.2.7.orig/gdb-7.6.patch
+++ crash-7.2.7/gdb-7.6.patch
@@ -41,6 +41,16 @@ exit 0
./pex-djgpp.$(objext) ./pex-msdos.$(objext) \
./pex-unix.$(objext) ./pex-win32.$(objext) \
./putenv.$(objext) \
+--- gdb-7.6/sim/common/gentmap.c.orig
++++ gdb-7.6/sim/common/gentmap.c
+@@ -2,6 +2,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ struct tdefs {
+ char *symbol;
--- gdb-7.6/opcodes/i386-dis.c.orig
+++ gdb-7.6/opcodes/i386-dis.c
@@ -11510,6 +11510,10 @@ print_insn (bfd_vma pc, disassemble_info