fixup build
Some checks failed
Contrib / build (push) Has been cancelled
alpine/musl / gcc (push) Has been cancelled
VTest / Generate Build Matrix (push) Has been cancelled
Windows / Windows, gcc, all features (push) Has been cancelled
VTest / (push) Has been cancelled

This commit is contained in:
William Lallemand 2026-03-30 18:04:04 +02:00
parent e15afd423b
commit f8a6fcc7a8
2 changed files with 8 additions and 2 deletions

View file

@ -2,6 +2,10 @@
#ifndef _HAPROXY_ACME_RESOLVERS_H
#define _HAPROXY_ACME_RESOLVERS_H
#include <haproxy/openssl-compat.h>
#if defined(HAVE_ACME)
#include <haproxy/acme_resolvers-t.h>
#include <haproxy/acme-t.h>
#include <haproxy/resolvers-t.h>
@ -9,4 +13,6 @@
struct acme_rslv *acme_rslv_start(struct acme_auth *auth, unsigned int *dnstasks, char **errmsg);
void acme_rslv_free(struct acme_rslv *rslv);
#endif
#endif /* _HAPROXY_ACME_RESOLVERS_H */

View file

@ -2171,7 +2171,7 @@ int resolv_link_resolution(void *requester, int requester_type, int requester_lo
? DNS_RTYPE_A
: DNS_RTYPE_AAAA;
break;
#if defined(HAVE_ACME)
case OBJ_TYPE_ACME_RSLV: {
struct acme_rslv *acme_rslv = (struct acme_rslv *)requester;
@ -2189,7 +2189,7 @@ int resolv_link_resolution(void *requester, int requester_type, int requester_lo
query_type = DNS_RTYPE_TXT;
break;
}
#endif
default:
goto err;
}