diff options
author | Yang Tse <yangsita@gmail.com> | 2009-09-06 23:46:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-09-06 23:46:07 +0000 |
commit | c2ce4e55f059f1926bd19ac4ef99c8625ad8cba7 (patch) | |
tree | 36a77a7bcb161b989ef05bc37c962c58ba4de7bd | |
parent | 5e3796349a1974e80bfedc2bdd4c336bf6e164c7 (diff) |
T_SRV portability check
-rw-r--r-- | ares/ares_parse_srv_reply.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |