From: Andrew Deason Date: Wed, 18 Nov 2009 20:08:49 +0000 (-0600) Subject: Define T_SRV when not defined for us X-Git-Tag: openafs-devel-1_5_67~38 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9c61e1196a4eb5131cff555fbaeb357bf2e78c1f;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/auth/cellconfig.c b/src/auth/cellconfig.c index cdb610780..4fc5cc2a2 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