From: Tom Tromey Date: Sat, 23 Mar 2019 16:50:27 +0000 (-0600) Subject: Include bcache.h from objfiles.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b366c208ee07924cc3cafc1bd4d70548bc91075b;p=binutils-gdb.git 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 * objfiles.h: Include bcache.h. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8088b75758a..df5e80b7d21 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-03-23 Tom Tromey + + * objfiles.h: Include bcache.h. + 2019-03-23 Tom Tromey * linespec.c (get_current_search_block): Use 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 #include "common/next-iterator.h" #include "common/safe-iterator.h" +#include "bcache.h" -struct bcache; struct htab; struct objfile_data; struct partial_symbol;