summaryrefslogtreecommitdiffstats
path: root/server/resolv/async_resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/resolv/async_resolv.c')
-rw-r--r--server/resolv/async_resolv.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/resolv/async_resolv.c b/server/resolv/async_resolv.c
index 70bea6c8e..b77819c0e 100644
--- a/server/resolv/async_resolv.c
+++ b/server/resolv/async_resolv.c
@@ -42,6 +42,16 @@
#include "util/dlinklist.h"
#include "util/util.h"
+#ifndef HAVE_ARES_PARSE_SRV
+#define ares_parse_srv_reply(abuf, alen, srv_out, nsrvreply) \
+ _ares_parse_srv_reply(abuf, alen, srv_out, nsrvreply)
+#endif /* HAVE_ARES_PARSE_SRV */
+
+#ifndef HAVE_ARES_PARSE_TXT
+#define ares_parse_txt_reply(abuf, alen, txt_out, ntxtreply) \
+ _ares_parse_txt_reply(abuf, alen, txt_out, ntxtreply)
+#endif /* HAVE_ARES_PARSE_TXT */
+
/* TODO: remove later
* These functions are available in the latest tevent/talloc and are the ones
* that should be used as tevent_req is rightfully opaque there */