diff options
Diffstat (limited to 'pty.c')
-rw-r--r-- | pty.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,11 +14,15 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$Id: pty.c,v 1.7 1999/12/07 21:53:52 damien Exp $"); | 17 | RCSID("$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 |