summaryrefslogtreecommitdiffhomepage
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
commitda59afe798f9b438f07b834683bb62f79a35fe93 (patch)
tree5ff5f8461562dc2e24ed4de842e95a96b4c8a58c
parent6270ed2f8a0b6ce13bb244766e4fd9e46ae5002b (diff)
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.