From 4cc09c021621d0a5e4dcf90938d44b76ffdf3df5 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 6 Sep 2009 23:46:07 +0000 Subject: T_SRV portability check --- ares_parse_srv_reply.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ares_parse_srv_reply.c') diff --git a/ares_parse_srv_reply.c b/ares_parse_srv_reply.c index 82fd8af..c26d59f 100644 --- a/ares_parse_srv_reply.c +++ b/ares_parse_srv_reply.c @@ -47,6 +47,11 @@ #include "ares_dns.h" #include "ares_private.h" +/* AIX portability check */ +#ifndef T_SRV +# define T_SRV 33 /* server selection */ +#endif + int ares_parse_srv_reply (const unsigned char *abuf, int alen, struct srv_reply **srv_out, int *nsrvreply) -- cgit v1.2.3