summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-09 12:55:16 +0100
committerDamien Miller <djm@mindrot.org>2001-02-09 12:55:16 +0100
commit4192c467916f96668fad5b53d90d83dfbfdcacb5 (patch)
tree6eba7203b961c689bdc9ffd7cc65b8cfcc895d5c /defines.h
parent - djm@cvs.openbsd.org 2001/02/06 23:30:28 (diff)
downloadopenssh-4192c467916f96668fad5b53d90d83dfbfdcacb5.tar.xz
openssh-4192c467916f96668fad5b53d90d83dfbfdcacb5.zip
- (djm) Define _PATH_TTY for systems that don't. Report from Lutz
Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
Diffstat (limited to '')
-rw-r--r--defines.h6
1 files changed, 5 insertions, 1 deletions
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)