# | Line 88 | Line 88 | RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/ | |
---|---|---|
88 | #if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H) | |
89 | # include <sys/stropts.h> | |
90 | #endif | |
91 | + | #if defined(HAVE_DEV_PTMX) && defined(HAVE_STROPTS_H) |
92 | + | # include <stropts.h> |
93 | + | #endif |
94 | ||
95 | #ifndef O_NOCTTY | |
96 | #define O_NOCTTY 0 | |
# | Line 179 | Line 182 | pty_allocate(int *ptyfd, int *ttyfd, cha | |
182 | close(*ptyfd); | |
183 | return 0; | |
184 | } | |
185 | < | #if !defined(HAVE_CYGWIN) && !defined(__FreeBSD__) |
185 | > | #ifndef HAVE_CYGWIN |
186 | /* | |
187 | * Push the appropriate streams modules, as described in Solaris pts(7). | |
188 | * HP-UX pts(7) doesn't have ttcompat module. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |