diff --git a/sshpty.c b/sshpty.c index 50dd293..fceb7fd 100644 --- a/sshpty.c +++ b/sshpty.c @@ -133,7 +133,7 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen) close(*ptyfd); return 0; } -#ifndef HAVE_CYGWIN +#if !defined(HAVE_CYGWIN) && defined(I_PUSH) /* * Push the appropriate streams modules, as described in Solaris pts(7). * HP-UX pts(7) doesn't have ttcompat module.