commit | c2ce4e55f059f1926bd19ac4ef99c8625ad8cba7 | [log] [tgz] |
---|---|---|
author | Yang Tse <yangsita@gmail.com> | Sun Sep 06 23:46:07 2009 +0000 |
committer | Yang Tse <yangsita@gmail.com> | Sun Sep 06 23:46:07 2009 +0000 |
tree | 36a77a7bcb161b989ef05bc37c962c58ba4de7bd | |
parent | 5e3796349a1974e80bfedc2bdd4c336bf6e164c7 [diff] |
T_SRV portability check
diff --git a/ares/ares_parse_srv_reply.c b/ares/ares_parse_srv_reply.c index 82fd8af..c26d59f 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)