summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-02-20 12:02:27 -0800
committerPer Bothner <bothner@gcc.gnu.org>2004-02-20 12:02:27 -0800
commit2ae5c785657f57c270c81d33776771bff8cfb0ad (patch)
treec3e994ea6f3024e8a56160e4c47d32ca1a6a8820 /gcc/toplev.c
parent7c4d376d4fa0dac8d3039a01c3c8b6fde1eb201d (diff)
downloadgcc-2ae5c785657f57c270c81d33776771bff8cfb0ad.tar.gz
input.h: Don't #include line-map.h.
* 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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index def8c9fae9f..071fb5d7e63 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -40,6 +40,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
# include <sys/times.h>
#endif
+#include "line-map.h"
#include "input.h"
#include "tree.h"
#include "rtl.h"