diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/zpty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index a3e6f2770..08ec1b2bd 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -165,8 +165,9 @@ get_pty(int master, int *retfd) { static char *name; static int mfd, sfd; - +#if defined(I_FIND) && defined(I_PUSH) && defined(__SVR4) int ret; +#endif if (master) { if ((mfd = open("/dev/ptmx", O_RDWR|O_NOCTTY)) < 0) |