From 951d1049fab99c36b2ea827e4eaf954ee1869794 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 21 Jan 2019 13:42:36 -0700 Subject: [PATCH] Include compile-internal.h in gcc-c-plugin.h gcc-c-plugin.h refers to some types defined in compile-internal.h. This patch changes the former to include the latter. gdb/ChangeLog 2019-01-22 Tom Tromey * compile/gcc-c-plugin.h: Include compile-internal.h. --- gdb/ChangeLog | 4 ++++ gdb/compile/gcc-c-plugin.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c28d2dadc47..d557d43137b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-01-22 Tom Tromey + + * compile/gcc-c-plugin.h: Include compile-internal.h. + 2019-01-22 Tom Tromey * stabsread.c (EXTERN): Do not define. diff --git a/gdb/compile/gcc-c-plugin.h b/gdb/compile/gcc-c-plugin.h index 882bb044acb..9ec78e2725c 100644 --- a/gdb/compile/gcc-c-plugin.h +++ b/gdb/compile/gcc-c-plugin.h @@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include "compile-internal.h" + /* A class representing the C plug-in. */ class gcc_c_plugin -- 2.30.2