* input.h: Don't #include line-map.h. It may cause link problems
with undefined linemap_line_start when line-map.h is included but
line-map.o is not linked, as currently happens with gengtype on
compilers that don't support inline.
* toplev.c: So we do have to explicitly #include line-map.h here.
From-SVN: r78185
+2004-02-20 Per Bothner <per@bothner.com>
+
+ * input.h: Don't #include line-map.h. It may cause link problems
+ with undefined linemap_line_start when line-map.h is included but
+ line-map.o is not linked, as currently happens with gengtype on
+ compilers that don't support inline.
+ * toplev.c: So we do have to explicitly #include line-map.h here.
+
2004-02-20 Richard Henderson <rth@redhat.com>
* doc/invoke.texi: Add -Wvariadic-macros.
#ifndef GCC_INPUT_H
#define GCC_INPUT_H
-#include "line-map.h"
-
extern struct line_maps line_table;
/* The data structure used to record a location in a translation unit. */
# include <sys/times.h>
#endif
+#include "line-map.h"
#include "input.h"
#include "tree.h"
#include "rtl.h"