From 9c61e1196a4eb5131cff555fbaeb357bf2e78c1f Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Wed, 18 Nov 2009 14:08:49 -0600 Subject: [PATCH] Define T_SRV when not defined for us Define T_SRV when we don't have a usable arpa/nameser_compat.h, just like we do with T_AFSDB. Some platforms like AIX do not have an easily-usable arpa/nameser_compat.h. Change-Id: I8406a3d2b1f98d0849a1739875656432869ea3c4 Reviewed-on: http://gerrit.openafs.org/842 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- src/auth/cellconfig.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/auth/cellconfig.c b/src/auth/cellconfig.c index cdb6107..4fc5cc2 100644 --- a/src/auth/cellconfig.c +++ b/src/auth/cellconfig.c @@ -116,6 +116,9 @@ static int SaveKeys(struct afsconf_dir *adir); #ifndef T_AFSDB #define T_AFSDB 18 /* per RFC1183 section 1 */ #endif +#ifndef T_SRV +#define T_SRV 33 /* RFC2782 */ +#endif /* * Basic Rule: we touch "/CellServDB" every time we change anything, so -- 1.9.4