From 2ee06322e879c30ead6b601d72eba62ca89622b7 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 3 Aug 2011 14:20:05 +0000 Subject: [PATCH] * link.c: Include "auto-host.h" before system headers. From-SVN: r177272 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/link.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 6afbcd295c8..75eeedc0197 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2011-08-03 Rainer Orth + + * link.c: Include "auto-host.h" before system headers. + 2011-08-03 Vincent Celier * make.adb (Gnatmake): Add to table Library_Projs only library projects diff --git a/gcc/ada/link.c b/gcc/ada/link.c index b8fd835c2d8..bf5d584b02b 100644 --- a/gcc/ada/link.c +++ b/gcc/ada/link.c @@ -36,12 +36,12 @@ extern "C" { #endif -#include - #ifdef IN_GCC #include "auto-host.h" #endif +#include + /* objlist_file_supported is set to 1 when the system linker allows */ /* response file, that is a file that contains the list of object files. */ /* This is useful on systems where the command line length is limited, */ -- 2.30.2