Include bcache.h from objfiles.h
authorTom Tromey <tom@tromey.com>
Sat, 23 Mar 2019 16:50:27 +0000 (10:50 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 23 Mar 2019 16:50:27 +0000 (10:50 -0600)
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
gdb/objfiles.h

index 8088b75758a2eadd489b175c1bca2b50fe997787..df5e80b7d219bb1e74d796961d488e682a7c63c2 100644 (file)
@@ -1,3 +1,7 @@
+2019-03-23  Tom Tromey  <tom@tromey.com>
+
+       * objfiles.h: Include bcache.h.
+
 2019-03-23  Tom Tromey  <tom@tromey.com>
 
        * linespec.c (get_current_search_block): Use
index b07ddfdfa503b7b53bd812f8732815b5f928de26..368d9f3abe255bc7481c875b033c7bf066c18b95 100644 (file)
@@ -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;