From: Mark Eichin Date: Thu, 16 Jun 1994 22:44:17 +0000 (+0000) Subject: default for AF_MAX (missing on old-linux) X-Git-Tag: krb5-1.0-beta4.1~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=efef5db427b206c33ba358e8caa32fa93e0c79b5;p=krb5.git default for AF_MAX (missing on old-linux) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3857 dc483132-0cff-0310-8789-dd5450dbe970 --- 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'.