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

Tom Tromey tom@tromey.com
Tue Jan 22 08:14:00 GMT 2019


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(+)

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
-- 
2.17.2



More information about the Gdb-patches mailing list