LibDNS: Export DNS::Messages::Records::SIG for DNS_DEBUG builds
When building with DNS_DEBUG or ENABLE_ALL_THE_DEBUG_MACROS there is a linking issue with Libraries/LibDNS/Resolver.h:1003 with undefined reference DNS::Messages::Records::SIG::to_string() const Add DNS_API on DNS:Messages::Records::SIG definition to allow access to the class in bin/dns, bin/TestDNSResolver, libexec/RequestServer
This commit is contained in:
parent
b8787cb021
commit
73658c9785
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ struct CDS : public DS {
|
|||
static constexpr ResourceType type = ResourceType::CDS;
|
||||
static ErrorOr<CDS> from_raw(ParseContext& raw) { return DS::from_raw(raw); }
|
||||
};
|
||||
struct SIG {
|
||||
struct DNS_API SIG {
|
||||
ResourceType type_covered;
|
||||
DNSSEC::Algorithm algorithm;
|
||||
u8 label_count;
|
||||
|
|
|
|||
Loading…
Reference in a new issue