aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile/gcc-c-plugin.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-21 13:42:36 -0700
committerTom Tromey <tom@tromey.com>2019-01-22 20:35:19 -0700
commit951d1049fab99c36b2ea827e4eaf954ee1869794 (patch)
tree321b54b526a3ff267ae6f0f497a25157858b1f0f /gdb/compile/gcc-c-plugin.h
parent2e8db3703b19c89e33b7eee633b0b0f1a79a5614 (diff)
downloadgdb-951d1049fab99c36b2ea827e4eaf954ee1869794.zip
gdb-951d1049fab99c36b2ea827e4eaf954ee1869794.tar.gz
gdb-951d1049fab99c36b2ea827e4eaf954ee1869794.tar.bz2
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 <tom@tromey.com> * compile/gcc-c-plugin.h: Include compile-internal.h.
Diffstat (limited to 'gdb/compile/gcc-c-plugin.h')
-rw-r--r--gdb/compile/gcc-c-plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/compile/gcc-c-plugin.h b/gdb/compile/gcc-c-plugin.h
index 882bb04..9ec78e2 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 <http://www.gnu.org/licenses/>. */
+#include "compile-internal.h"
+
/* A class representing the C plug-in. */
class gcc_c_plugin