summaryrefslogtreecommitdiff
path: root/server/resolv/async_resolv.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-11-27 09:39:41 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-09 10:05:18 -0500
commita3b55a024b03321be969a892cb0992bad14266af (patch)
tree9dfa66057df41bd5910ab9e09b14cfd4db4a0a2e /server/resolv/async_resolv.h
parent2446a71baaae100bafee0589a2e18bb8a16dff1b (diff)
downloadsssd-a3b55a024b03321be969a892cb0992bad14266af.tar.gz
sssd-a3b55a024b03321be969a892cb0992bad14266af.tar.bz2
sssd-a3b55a024b03321be969a892cb0992bad14266af.zip
Import ares 1.7.0 helpers
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 9d080ec6..dab2fdfc 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