diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2011-08-03 14:20:05 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2011-08-03 14:20:05 +0000 |
commit | 2ee06322e879c30ead6b601d72eba62ca89622b7 (patch) | |
tree | 567f69f95d4438ee6569b100fde7ed0617c7bd82 | |
parent | 72c2f8102c81e3c3a030db87cdd2f4c73590886a (diff) | |
download | gcc-2ee06322e879c30ead6b601d72eba62ca89622b7.zip gcc-2ee06322e879c30ead6b601d72eba62ca89622b7.tar.gz gcc-2ee06322e879c30ead6b601d72eba62ca89622b7.tar.bz2 |
* link.c: Include "auto-host.h" before system headers.
From-SVN: r177272
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/link.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 6afbcd2..75eeedc 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2011-08-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * link.c: Include "auto-host.h" before system headers. + 2011-08-03 Vincent Celier <celier@adacore.com> * make.adb (Gnatmake): Add to table Library_Projs only library projects diff --git a/gcc/ada/link.c b/gcc/ada/link.c index b8fd835..bf5d584 100644 --- a/gcc/ada/link.c +++ b/gcc/ada/link.c @@ -36,12 +36,12 @@ extern "C" { #endif -#include <string.h> - #ifdef IN_GCC #include "auto-host.h" #endif +#include <string.h> + /* 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, */ |