aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-08 21:21:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-08 21:21:53 +0000
commit8ee564c216d597c1f26cbd4fc0bdc243fcc3e166 (patch)
treed9d6e7c48bc3f4706b9463dec84ebcb98ab29dea /src
parent5bfeb60a836cf337809bb35d8813781df9332836 (diff)
Marty Kuhrt's VMS fixes
Diffstat (limited to 'src')
-rw-r--r--src/getpass.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/getpass.c b/src/getpass.c
index eb210460e..129430f2e 100644
--- a/src/getpass.c
+++ b/src/getpass.c
@@ -45,12 +45,22 @@
#include descrip
#include starlet
#include iodef
-#include iosbdef
+/* #include iosbdef */
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
{
long sts;
short chan;
struct _iosb iosb;
+ /* MSK, 23-JAN-2004, iosbdef.h wasn't in VAX V7.2 or CC 6.4 */
+ /* distribution so I created this. May revert back later to */
+ /* struct _iosb iosb; */
+ struct _iosb
+ {
+ short int iosb$w_status; /* status */
+ short int iosb$w_bcnt; /* byte count */
+ int unused; /* unused */
+ } iosb;
+
$DESCRIPTOR(ttdesc, "TT");
buffer[0]='\0';