From: Niall Date: Wed, 23 Apr 2025 13:57:37 +0000 (+0100) Subject: ares: add definition for HTTPSRR_WORKS X-Git-Tag: curl-8_14_0~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=179aeeaf228e3837a14e5df74285b75d0c243cce;p=thirdparty%2Fcurl.git ares: add definition for HTTPSRR_WORKS Closes #17157 --- diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c index 147b4a743e..58dde9309a 100644 --- a/lib/asyn-ares.c +++ b/lib/asyn-ares.c @@ -86,6 +86,13 @@ #define HAVE_CARES_GETADDRINFO 1 #endif +#ifdef USE_HTTPSRR +#if ARES_VERSION < 0x011c00 +#error "requires c-ares 1.28.0 or newer for HTTPSRR" +#endif +#define HTTPSRR_WORKS +#endif + /* The last 3 #include files should be in this order */ #include "curl_printf.h" #include "curl_memory.h"