Patchwork [FYI] Fix the ia64 libunwind build

login
register
mail settings
Submitter Tom Tromey
Date Aug. 1, 2019, 6:14 p.m.
Message ID <20190801181455.15377-1-tromey@adacore.com>
Download mbox | patch
Permalink /patch/33905/
State New
Headers show

Comments

Tom Tromey - Aug. 1, 2019, 6:14 p.m.
This fixes the ia64 libunwind build.

gdb/ChangeLog
2019-08-01  Tom Tromey  <tromey@adacore.com>

	* ia64-libunwind-tdep.h (struct libunwind_descr): Include
	gdbarch.h.
---
 gdb/ChangeLog             | 5 +++++
 gdb/ia64-libunwind-tdep.h | 2 ++
 2 files changed, 7 insertions(+)

Patch

diff --git a/gdb/ia64-libunwind-tdep.h b/gdb/ia64-libunwind-tdep.h
index 3ad3d44f367..06a8d5463d7 100644
--- a/gdb/ia64-libunwind-tdep.h
+++ b/gdb/ia64-libunwind-tdep.h
@@ -36,6 +36,8 @@  struct frame_unwind;
    running on.  */
 #include "libunwind-ia64.h"
 
+#include "gdbarch.h"
+
 struct libunwind_descr
 {
   int (*gdb2uw) (int);