diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-10-25 17:02:35 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-10-25 17:02:35 +0200 |
commit | a0bd44cc49a4b24869c952233b916961f67ac9a2 (patch) | |
tree | ed00d171377a6f1b4fbf275d00e91dba7f7dc889 /openbsd-compat/readpassphrase.c | |
parent | Use configure.ac instead of configure.in so older versions of autoconf (diff) | |
download | openssh-a0bd44cc49a4b24869c952233b916961f67ac9a2.tar.xz openssh-a0bd44cc49a4b24869c952233b916961f67ac9a2.zip |
- (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch
by todd@
Diffstat (limited to 'openbsd-compat/readpassphrase.c')
-rw-r--r-- | openbsd-compat/readpassphrase.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index 8e5785520..fdef15809 100644 --- a/openbsd-compat/readpassphrase.c +++ b/openbsd-compat/readpassphrase.c @@ -42,6 +42,11 @@ static char rcsid[] = "$OpenBSD: readpassphrase.c,v 1.5 2001/06/27 13:23:30 djm # define _T_FLUSH (TCSAFLUSH) #endif +/* SunOS 4.x which lacks _POSIX_VDISABLE, but has VDISABLE */ +#if !defined(_POSIX_VDISABLE) && defined(VDISABLE) +# define _POSIX_VDISABLE VDISABLE +#endif + char * readpassphrase(prompt, buf, bufsiz, flags) const char *prompt; |