mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-01 15:16:17 -04:00
fixup build
This commit is contained in:
parent
e15afd423b
commit
f8a6fcc7a8
2 changed files with 8 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue