ares: add definition for HTTPSRR_WORKS

Closes #17157
This commit is contained in:
Niall 2025-04-23 14:57:37 +01:00 committed by Daniel Stenberg
parent 9c59a6ac55
commit 179aeeaf22
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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"