From a8624232b152c7686701924da7bcb546647b6d09 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 8 Aug 2021 08:53:17 -0600 Subject: Include objfiles.h in a few .c files I found a few .c files that rely on objfiles.h, but that only include it indirectly, via dwarf2/read.h -> psympriv.h. If that include is removed (something my new DWARF indexer series does), then the build will break. It seemed harmless and correct to add these includes now, making the eventual series a little smaller. --- gdb/dwarf2/macro.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/dwarf2/macro.c') diff --git a/gdb/dwarf2/macro.c b/gdb/dwarf2/macro.c index 082c4e9..86f7bd7 100644 --- a/gdb/dwarf2/macro.c +++ b/gdb/dwarf2/macro.c @@ -35,6 +35,7 @@ #include "buildsym.h" #include "macrotab.h" #include "complaints.h" +#include "objfiles.h" static void dwarf2_macro_malformed_definition_complaint (const char *arg1) -- cgit v1.1