[FYI] Include bcache.h from objfiles.h

Message ID 20190323165553.13706-1-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey March 23, 2019, 4:55 p.m. UTC
  objfiles.h needs "struct bcache" to be complete, so it should include
bcache.h.  This patch implements this.

Tested by rebuilding.

gdb/ChangeLog
2019-03-23  Tom Tromey  <tom@tromey.com>

	* objfiles.h: Include bcache.h.
---
 gdb/ChangeLog  | 4 ++++
 gdb/objfiles.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index b07ddfdfa50..368d9f3abe2 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -32,8 +32,8 @@ 
 #include <vector>
 #include "common/next-iterator.h"
 #include "common/safe-iterator.h"
+#include "bcache.h"
 
-struct bcache;
 struct htab;
 struct objfile_data;
 struct partial_symbol;