Commit c2ce4e55 authored by Yang Tse's avatar Yang Tse
Browse files

T_SRV portability check

parent 5e379634
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)