diff options
Diffstat (limited to 'openbsd-compat')
-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 | |||
42 | # define _T_FLUSH (TCSAFLUSH) | 42 | # define _T_FLUSH (TCSAFLUSH) |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | /* SunOS 4.x which lacks _POSIX_VDISABLE, but has VDISABLE */ | ||
46 | #if !defined(_POSIX_VDISABLE) && defined(VDISABLE) | ||
47 | # define _POSIX_VDISABLE VDISABLE | ||
48 | #endif | ||
49 | |||
45 | char * | 50 | char * |
46 | readpassphrase(prompt, buf, bufsiz, flags) | 51 | readpassphrase(prompt, buf, bufsiz, flags) |
47 | const char *prompt; | 52 | const char *prompt; |