summaryrefslogtreecommitdiffstats
path: root/pty.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-09 10:16:54 +1100
committerDamien Miller <djm@mindrot.org>1999-12-09 10:16:54 +1100
commitbf1c9b2012fadab02392126bece5d21e9ddffda6 (patch)
tree371e5f27669fa28773e2b2bb008a81a03715cf2e /pty.c
parentfce1648681a20b99f569d4bfd9335bc4a956b119 (diff)
- Import of patch from Ben Taylor <bent@clark.net>:
- Improved PAM support - "uninstall" rule for Makefile - utmpx support - Should fix PAM problems on Solaris
Diffstat (limited to 'pty.c')
-rw-r--r--pty.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pty.c b/pty.c
index acd81c9b..c6c7363b 100644
--- a/pty.c
+++ b/pty.c
@@ -14,11 +14,15 @@
*/
#include "includes.h"
-RCSID("$Id: pty.c,v 1.7 1999/12/07 21:53:52 damien Exp $");
+RCSID("$Id: pty.c,v 1.8 1999/12/08 23:16:55 damien Exp $");
#include "pty.h"
#include "ssh.h"
+#ifdef HAVE_DEV_PTMX
+#include <sys/stropts.h>
+#endif /* HAVE_DEV_PTMX */
+
/* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */
#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
#undef HAVE_DEV_PTMX