aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-23 10:50:27 -0600
committerTom Tromey <tom@tromey.com>2019-03-23 10:50:27 -0600
commitb366c208ee07924cc3cafc1bd4d70548bc91075b (patch)
tree97a16dc5f5274ad5245bb37b35743d440c922131 /gdb/objfiles.h
parent9bb9b2f9d6d5aa90f579494d8407375a87a9ad0b (diff)
downloadfsf-binutils-gdb-b366c208ee07924cc3cafc1bd4d70548bc91075b.zip
fsf-binutils-gdb-b366c208ee07924cc3cafc1bd4d70548bc91075b.tar.gz
fsf-binutils-gdb-b366c208ee07924cc3cafc1bd4d70548bc91075b.tar.bz2
Include bcache.h from objfiles.h
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.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index b07ddfd..368d9f3 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;