diff options
Diffstat (limited to 'gcc/ada/s-oscons-tmplt.c')
-rw-r--r-- | gcc/ada/s-oscons-tmplt.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index 694fcf1b622..b5dd2a86a7b 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -76,7 +76,6 @@ pragma Style_Checks ("M32766"); ** $ DEFINE/USER SYS$OUTPUT s-oscons-tmplt.s ** $ RUN s-oscons-tmplt ** $ RUN xoscons - ** **/ #include <stdlib.h> @@ -89,6 +88,16 @@ pragma Style_Checks ("M32766"); # define HAVE_TERMIOS #endif +#if defined (__vxworks) + +/** + ** For VxWorks, always include vxWorks.h (gsocket.h provides it only for + ** the case of runtime libraries that support sockets). + **/ + +# include <vxWorks.h> +#endif + #include "gsocket.h" #ifdef DUMMY |