diff options
Diffstat (limited to 'gcc')
-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, */ |