1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/krb5/files/patch-lib::krb5::os::hst_realm.c
Cy Schubert b134e90243 Change to src/include/netdb.h 1.31 caused a compile error. This
commit fixes that error.

Reported by:	bento
2004-01-25 22:08:27 +00:00

15 lines
355 B
C

--- lib/krb5/os/hst_realm.c.orig Tue Oct 15 15:51:50 2002
+++ lib/krb5/os/hst_realm.c Sat Jan 24 20:11:05 2004
@@ -438,9 +438,11 @@
return EAFNOSUPPORT;
case EAI_MEMORY:
return ENOMEM;
+#ifdef EAI_NODATA
#if EAI_NODATA != EAI_NONAME
case EAI_NODATA:
return KRB5_EAI_NODATA;
+#endif
#endif
case EAI_NONAME:
return KRB5_EAI_NONAME;