aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_parse_srv_reply.c5
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)