summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/os/sendto_kdc.c5
1 files changed, 5 insertions, 0 deletions
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 <sys/select.h>
#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'.