summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-09 22:55:16 +1100
committerDamien Miller <djm@mindrot.org>2001-02-09 22:55:16 +1100
commit4192c467916f96668fad5b53d90d83dfbfdcacb5 (patch)
tree6eba7203b961c689bdc9ffd7cc65b8cfcc895d5c
parent288cc3970cd22cbbb6a3b9ba74cd25442c938ee5 (diff)
- (djm) Define _PATH_TTY for systems that don't. Report from Lutz
Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
-rw-r--r--ChangeLog4
-rw-r--r--defines.h6
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 @@
48 - djm@cvs.openbsd.org 2001/02/06 23:30:28 48 - djm@cvs.openbsd.org 2001/02/06 23:30:28
49 [sftp-client.c] 49 [sftp-client.c]
50 replace arc4random with counter for request ids; ok markus@ 50 replace arc4random with counter for request ids; ok markus@
51 - (djm) Define _PATH_TTY for systems that don't. Report from Lutz
52 Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
51 53
5220010208 5420010208
53 - (djm) Don't delete external askpass program in make uninstall target. 55 - (djm) Don't delete external askpass program in make uninstall target.
@@ -3701,4 +3703,4 @@
3701 - Wrote replacements for strlcpy and mkdtemp 3703 - Wrote replacements for strlcpy and mkdtemp
3702 - Released 1.0pre1 3704 - Released 1.0pre1
3703 3705
3704$Id: ChangeLog,v 1.708 2001/02/09 02:58:04 mouring Exp $ 3706$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 @@
1#ifndef _DEFINES_H 1#ifndef _DEFINES_H
2#define _DEFINES_H 2#define _DEFINES_H
3 3
4/* $Id: defines.h,v 1.53 2001/02/09 01:55:36 djm Exp $ */ 4/* $Id: defines.h,v 1.54 2001/02/09 11:55:17 djm Exp $ */
5 5
6/* Some platforms need this for the _r() functions */ 6/* Some platforms need this for the _r() functions */
7#if !defined(_REENTRANT) && !defined(SNI) 7#if !defined(_REENTRANT) && !defined(SNI)
@@ -303,6 +303,10 @@ struct winsize {
303#define XAUTH_PATH "/usr/X11R6/bin/xauth" 303#define XAUTH_PATH "/usr/X11R6/bin/xauth"
304#endif /* XAUTH_PATH */ 304#endif /* XAUTH_PATH */
305 305
306#ifndef _PATH_TTY
307# define _PATH_TTY "/dev/tty"
308#endif
309
306/* Macros */ 310/* Macros */
307 311
308#if defined(HAVE_LOGIN_GETCAPBOOL) && defined(HAVE_LOGIN_CAP_H) 312#if defined(HAVE_LOGIN_GETCAPBOOL) && defined(HAVE_LOGIN_CAP_H)