changes to build with VSI C compiler

The changes from past OpenVMS compilers are #ifdef'd VMS9
This commit is contained in:
nhmall
2023-05-22 14:43:10 -04:00
parent 2dfe4c2a27
commit 68b8e84aa3
10 changed files with 145 additions and 9 deletions

View File

@@ -7,6 +7,12 @@
#include "hack.h"
#include "dlb.h"
#ifdef VMS9
#include <descrip.h>
#include <lib$routines.h>
#include <starlet.h>
#endif
#include <signal.h>
static void whoami(void);
@@ -389,7 +395,9 @@ byebye(void)
void (*hup)(int) ;
#ifdef SHELL
extern unsigned long dosh_pid, mail_pid;
#ifndef VMS9
extern unsigned long sys$delprc(unsigned long *, const genericptr_t);
#endif
/* clean up any subprocess we've spawned that may still be hanging around
*/