T_SRV portability check
authorYang Tse <yangsita@gmail.com>
Sun, 6 Sep 2009 23:46:07 +0000 (23:46 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 6 Sep 2009 23:46:07 +0000 (23:46 +0000)
ares/ares_parse_srv_reply.c

index 82fd8af..c26d59f 100644 (file)
 #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)