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.
This commit is contained in:
Tom Tromey 2019-03-23 10:50:27 -06:00
parent 9bb9b2f9d6
commit b366c208ee
2 changed files with 5 additions and 1 deletions

View 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

View 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;