From efef5db427b206c33ba358e8caa32fa93e0c79b5 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 16 Jun 1994 22:44:17 +0000 Subject: [PATCH] default for AF_MAX (missing on old-linux) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3857 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/sendto_kdc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index 64b964292..3e28f24d1 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -45,6 +45,11 @@ static char rcsid_sendto_kdc_c[] = #include #endif +#ifndef AF_MAX +/* good enough -- only missing on old linux so far anyhow. */ +#define AF_MAX 10 +#endif + /* * send the formatted request 'message' to a KDC for realm 'realm' and * return the response (if any) in 'reply'. -- 2.26.2