summaryrefslogtreecommitdiffstats
path: root/server/resolv/async_resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/resolv/async_resolv.h')
-rw-r--r--server/resolv/async_resolv.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/resolv/async_resolv.h b/server/resolv/async_resolv.h
index 9d080ec69..dab2fdfc4 100644
--- a/server/resolv/async_resolv.h
+++ b/server/resolv/async_resolv.h
@@ -29,13 +29,13 @@
#include <netdb.h>
#include <ares.h>
-#ifndef HAVE_ARES_PARSE_TXT
-#include "resolv/ares/ares_parse_txt_reply.h"
-#endif /* HAVE_ARES_PARSE_TXT */
+#include "config.h"
-#ifndef HAVE_ARES_PARSE_SRV
+#ifndef HAVE_ARES_DATA
#include "resolv/ares/ares_parse_srv_reply.h"
-#endif /* HAVE_ARES_PARSE_SRV */
+#include "resolv/ares/ares_parse_txt_reply.h"
+#include "resolv/ares/ares_data.h"
+#endif /* HAVE_ARES_DATA */
/*
* An opaque structure which holds context for a module using the async