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 <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2009-11-18 14:08:49 -06:00 committed by Derrick Brashear
parent c42222c40e
commit 9c61e1196a

View File

@ -116,6 +116,9 @@ static int SaveKeys(struct afsconf_dir *adir);
#ifndef T_AFSDB #ifndef T_AFSDB
#define T_AFSDB 18 /* per RFC1183 section 1 */ #define T_AFSDB 18 /* per RFC1183 section 1 */
#endif #endif
#ifndef T_SRV
#define T_SRV 33 /* RFC2782 */
#endif
/* /*
* Basic Rule: we touch "<AFSCONF_DIR>/CellServDB" every time we change anything, so * Basic Rule: we touch "<AFSCONF_DIR>/CellServDB" every time we change anything, so