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 | 4cc09c021621d0a5e4dcf90938d44b76ffdf3df5 (patch) | |
tree | 38cd4813e915aecd7306426224321bbdf8cb6672 /ares_parse_srv_reply.c | |
parent | d2f5bde0dba22e0e4cfac898d6e2f8677eefd904 (diff) | |
download | c-ares-4cc09c021621d0a5e4dcf90938d44b76ffdf3df5.tar.gz c-ares-4cc09c021621d0a5e4dcf90938d44b76ffdf3df5.tar.bz2 c-ares-4cc09c021621d0a5e4dcf90938d44b76ffdf3df5.zip |
T_SRV portability check
Diffstat (limited to 'ares_parse_srv_reply.c')
-rw-r--r-- | ares_parse_srv_reply.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |