diff options
Diffstat (limited to 'gcc/ada/socket.c')
-rw-r--r-- | gcc/ada/socket.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/socket.c b/gcc/ada/socket.c index 4ac17e2..226f3be 100644 --- a/gcc/ada/socket.c +++ b/gcc/ada/socket.c @@ -32,6 +32,15 @@ /* This file provides a portable binding to the sockets API */ #include "gsocket.h" +#ifdef VMS +/* + * For VMS, gsocket.h can't include sockets-related DEC C header files + * when building the runtime (because these files are in DEC C archives, + * not accessable to GCC). So, we generate a separate header file along + * with s-oscons.ads and include it here. + */ +# include "s-oscons.h" +#endif #if defined(HAVE_SOCKETS) |