summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-19 20:12:19 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-19 20:12:19 +0800
commite9786da2c8f50b57c56918f95e167c06b517c191 (patch)
tree263ca94272fee33a5fbee9543fc9dd04b6762dd2
parent16b664c9a608972ec4b7eb8f25b8afd90f909cf6 (diff)
downloaddropbear-e9786da2c8f50b57c56918f95e167c06b517c191.tar.gz
ignore I_PUSH if it isn't defined, for Android from Reimar D?ffinger
-rw-r--r--sshpty.c2
1 files changed, 1 insertions, 1 deletions
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.