Include compile-internal.h in gcc-c-plugin.h
authorTom Tromey <tom@tromey.com>
Mon, 21 Jan 2019 20:42:36 +0000 (13:42 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 03:35:19 +0000 (20:35 -0700)
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.

gdb/ChangeLog
gdb/compile/gcc-c-plugin.h

index c28d2da..d557d43 100644 (file)
@@ -1,5 +1,9 @@
 2019-01-22  Tom Tromey  <tom@tromey.com>
 
+       * compile/gcc-c-plugin.h: Include compile-internal.h.
+
+2019-01-22  Tom Tromey  <tom@tromey.com>
+
        * stabsread.c (EXTERN): Do not define.
        (symnum, next_symbol_text_func, processing_gcc_compilation)
        (within_function, global_sym_chain, global_stabs)
index 882bb04..9ec78e2 100644 (file)
@@ -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