From: Yang Tse Date: Sun, 6 Sep 2009 23:46:07 +0000 (+0000) Subject: T_SRV portability check X-Git-Tag: curl-7_19_7~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2ce4e55f059f1926bd19ac4ef99c8625ad8cba7;p=curl T_SRV portability check --- diff --git a/ares/ares_parse_srv_reply.c b/ares/ares_parse_srv_reply.c index 82fd8afa9..c26d59f2a 100644 --- a/ares/ares_parse_srv_reply.c +++ b/ares/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)