From af30c400ea2ae16742ce194f0490fec4170320d5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 24 Nov 2020 11:50:54 -0700 Subject: Do not include parser-defs.h from c-lang.h While working on another series, I noticed that c-lang.h does not need to include parser-defs.h. This patch makes this change, and fixes up the two .c files that needed this include. Tested by rebuilding. gdb/ChangeLog 2020-11-25 Tom Tromey * d-lang.c: Include parser-defs.h. * rust-lang.c: Include parser-defs.h. * c-lang.h: Do not include parser-defs.h. --- gdb/rust-lang.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/rust-lang.c') diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index 407be56..fb2f2d5 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -38,6 +38,7 @@ #include #include #include "cli/cli-style.h" +#include "parser-defs.h" /* See rust-lang.h. */ -- cgit v1.1