language.h: Add "symtab.h" #include
authorJoel Brobecker <brobecker@adacore.com>
Mon, 11 Nov 2013 05:13:57 +0000 (09:13 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Thu, 14 Nov 2013 09:56:49 +0000 (13:56 +0400)
In addition to the fact that language.h depends on a number of struct
types declared in symtab.h, language.h also depends on an enumerated
type (domain_enum). So language.h should #include "symtab.h".

gdb/ChangeLog:

        * language.h: Add "symtab.h" #include.

gdb/ChangeLog
gdb/language.h

index 148b796..64adfd2 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * language.h: Add "symtab.h" #include.
+
 2013-11-13  Doug Evans  <xdje42@gmail.com>
 
        * breakpoint.c (bpstat_check_breakpoint_conditions): For thread
index c5f6824..7398a72 100644 (file)
@@ -23,6 +23,8 @@
 #if !defined (LANGUAGE_H)
 #define LANGUAGE_H 1
 
+#include "symtab.h"
+
 /* Forward decls for prototypes.  */
 struct value;
 struct objfile;