[1/9] Include compile-internal.h in gcc-c-plugin.h

Message ID 20190122080445.32658-2-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey Jan. 22, 2019, 8:04 a.m. UTC
  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-21  Tom Tromey  <tom@tromey.com>

	* compile/gcc-c-plugin.h: Include compile-internal.h.
---
 gdb/ChangeLog              | 4 ++++
 gdb/compile/gcc-c-plugin.h | 2 ++
 2 files changed, 6 insertions(+)
  

Patch

diff --git a/gdb/compile/gcc-c-plugin.h b/gdb/compile/gcc-c-plugin.h
index 882bb044ac..9ec78e2725 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