summaryrefslogtreecommitdiff
path: root/pty.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-14 10:54:47 +1100
committerDamien Miller <djm@mindrot.org>1999-12-14 10:54:47 +1100
commit36b339a9064e1848728d82c0c75ca3e87c60b3ae (patch)
tree502e9193769dd92678ae16d6e07e3dcc39025d5f /pty.c
parenta34a28bf86c04eb35c522b1e31c32e94edf355d2 (diff)
- Clean up broken includes in pty.c
Diffstat (limited to 'pty.c')
-rw-r--r--pty.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/pty.c b/pty.c
index f7ef19ca7..06b43bb84 100644
--- a/pty.c
+++ b/pty.c
@@ -14,16 +14,15 @@
14 */ 14 */
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$Id: pty.c,v 1.9 1999/12/13 23:47:16 damien Exp $"); 17RCSID("$Id: pty.c,v 1.10 1999/12/13 23:54:47 damien Exp $");
18
19#ifdef HAVE_UTIL_H
20# include <util.h>
21#endif /* HAVE_UTIL_H */
18 22
19#include <util.h>
20#include "pty.h" 23#include "pty.h"
21#include "ssh.h" 24#include "ssh.h"
22 25
23#ifdef HAVE_DEV_PTMX
24#include <sys/stropts.h>
25#endif /* HAVE_DEV_PTMX */
26
27/* 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. */
28#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) 27#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
29#undef HAVE_DEV_PTMX 28#undef HAVE_DEV_PTMX