diff options
author | Corentin Gay <gay@adacore.com> | 2019-07-10 09:01:48 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-10 09:01:48 +0000 |
commit | 9ab234e531354d939c2105e8005153d7554f7cdd (patch) | |
tree | 2473c7b8d5194eb0b197d402815a4b6959edbb4e /gcc/ada/sysdep.c | |
parent | 1c6f14b64b4e4bf1a01efe41c013f690b22bdce2 (diff) | |
download | gcc-9ab234e531354d939c2105e8005153d7554f7cdd.zip gcc-9ab234e531354d939c2105e8005153d7554f7cdd.tar.gz gcc-9ab234e531354d939c2105e8005153d7554f7cdd.tar.bz2 |
[Ada] sysdep.c: correct include directives ordering
Some VxWorks headers are relying on types that are defined in
`vxWorks.h` but do not include it themselves, we move the include
directive for `vxWorks.h` at the top of the include directives.
2019-07-10 Corentin Gay <gay@adacore.com>
gcc/ada/
* sysdep.c: Put include directive for 'vxWorks.h' before any
other VxWorks headers.
From-SVN: r273338
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r-- | gcc/ada/sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c index a5f325d..66c29d3 100644 --- a/gcc/ada/sysdep.c +++ b/gcc/ada/sysdep.c @@ -33,6 +33,7 @@ GNAT Run Time Library */ #ifdef __vxworks +#include "vxWorks.h" #include "ioLib.h" #if ! defined (VTHREADS) #include "dosFsLib.h" @@ -41,7 +42,6 @@ # include "nfsLib.h" #endif #include "selectLib.h" -#include "vxWorks.h" #include "version.h" #if defined (__RTP__) # include "vwModNum.h" |