summaryrefslogtreecommitdiff
path: root/pty.c
diff options
context:
space:
mode:
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 acd81c9ba..c6c7363b2 100644
--- a/pty.c
+++ b/pty.c
@@ -14,11 +14,15 @@
14 */ 14 */
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$Id: pty.c,v 1.7 1999/12/07 21:53:52 damien Exp $"); 17RCSID("$Id: pty.c,v 1.8 1999/12/08 23:16:55 damien Exp $");
18 18
19#include "pty.h" 19#include "pty.h"
20#include "ssh.h" 20#include "ssh.h"
21 21
22#ifdef HAVE_DEV_PTMX
23#include <sys/stropts.h>
24#endif /* HAVE_DEV_PTMX */
25
22/* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */ 26/* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */
23#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) 27#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
24#undef HAVE_DEV_PTMX 28#undef HAVE_DEV_PTMX