From a4f1a3215298981c1df40c067f8fd5161ce156f9 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Sun, 14 Aug 1994 04:58:48 +0000 Subject: [PATCH] ctype.h stdio.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4147 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/compat_recv.c | 2 ++ src/lib/krb5/krb/conv_princ.c | 1 + src/lib/krb5/krb/srv_rcache.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/lib/krb5/krb/compat_recv.c b/src/lib/krb5/krb/compat_recv.c index 1689e5a21..4a1a53d84 100644 --- a/src/lib/krb5/krb/compat_recv.c +++ b/src/lib/krb5/krb/compat_recv.c @@ -106,7 +106,9 @@ krb5_compat_recvauth(/* IN */ int len, length; krb5_int32 retval; int fd = *( (int *) fdp); +#ifdef KRB5_KRB4_COMPAT KTEXT v4_ticket; /* storage for client's ticket */ +#endif if ((retval = krb5_net_read(fd, vers.vers, 4)) != 4) return((retval < 0) ? errno : ECONNABORTED); diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c index 98189aab4..4dc14e903 100644 --- a/src/lib/krb5/krb/conv_princ.c +++ b/src/lib/krb5/krb/conv_princ.c @@ -33,6 +33,7 @@ #include #include +#include /* The maximum sizes for V4 aname, realm, sname, and instance +1 */ /* Taken from krb.h */ diff --git a/src/lib/krb5/krb/srv_rcache.c b/src/lib/krb5/krb/srv_rcache.c index 7edd1f62c..7f3af0c5b 100644 --- a/src/lib/krb5/krb/srv_rcache.c +++ b/src/lib/krb5/krb/srv_rcache.c @@ -32,6 +32,8 @@ static char rcsid_srv_rcache_c[] = #include #include +#include +#include krb5_error_code krb5_get_server_rcache(piece, rcptr) -- 2.26.2