summaryrefslogtreecommitdiffstats
path: root/src/util/pty/open_slave.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2001-05-04 18:59:20 +0000
committerEzra Peisach <epeisach@mit.edu>2001-05-04 18:59:20 +0000
commitd88aba1ad17ed2b956f4b85fa71190045aefcebc (patch)
tree7722d2eb1fbf0c159aacf1c431047658b33ae740 /src/util/pty/open_slave.c
parent9530b1f60e4048438cf54718a5e7baf92a269e87 (diff)
downloadkrb5-d88aba1ad17ed2b956f4b85fa71190045aefcebc.tar.gz
krb5-d88aba1ad17ed2b956f4b85fa71190045aefcebc.tar.xz
krb5-d88aba1ad17ed2b956f4b85fa71190045aefcebc.zip
* open_slave.c (pty_open_slave): If revoke() present on system but
VHANG_FIRST is not defined, declare local variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13231 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/pty/open_slave.c')
-rw-r--r--src/util/pty/open_slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/pty/open_slave.c b/src/util/pty/open_slave.c
index 0e863d96a..235b8e8da 100644
--- a/src/util/pty/open_slave.c
+++ b/src/util/pty/open_slave.c
@@ -29,7 +29,7 @@ long pty_open_slave ( slave, fd)
const char *slave;
int *fd;
{
-#ifdef VHANG_FIRST
+#if defined(VHANG_FIRST) || defined(HAVE_REVOKE)
int vfd;
#endif