From 4192c467916f96668fad5b53d90d83dfbfdcacb5 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 9 Feb 2001 22:55:16 +1100 Subject: [PATCH] - (djm) Define _PATH_TTY for systems that don't. Report from Lutz Jaenicke --- ChangeLog | 4 +++- defines.h | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c7aef324..601f30176 100644 --- a/ChangeLog +++ b/ChangeLog @@ -48,6 +48,8 @@ - djm@cvs.openbsd.org 2001/02/06 23:30:28 [sftp-client.c] replace arc4random with counter for request ids; ok markus@ + - (djm) Define _PATH_TTY for systems that don't. Report from Lutz + Jaenicke 20010208 - (djm) Don't delete external askpass program in make uninstall target. @@ -3701,4 +3703,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.708 2001/02/09 02:58:04 mouring Exp $ +$Id: ChangeLog,v 1.709 2001/02/09 11:55:16 djm Exp $ diff --git a/defines.h b/defines.h index 714aa202f..9f1ab3d7f 100644 --- a/defines.h +++ b/defines.h @@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.53 2001/02/09 01:55:36 djm Exp $ */ +/* $Id: defines.h,v 1.54 2001/02/09 11:55:17 djm Exp $ */ /* Some platforms need this for the _r() functions */ #if !defined(_REENTRANT) && !defined(SNI) @@ -303,6 +303,10 @@ struct winsize { #define XAUTH_PATH "/usr/X11R6/bin/xauth" #endif /* XAUTH_PATH */ +#ifndef _PATH_TTY +# define _PATH_TTY "/dev/tty" +#endif + /* Macros */ #if defined(HAVE_LOGIN_GETCAPBOOL) && defined(HAVE_LOGIN_CAP_H)