From ac21bbb13a7c6d1097ce783c44dc02eec318c032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 5 Sep 2018 23:48:04 +0200 Subject: [PATCH] Add C++ declarations to dns/fixedname.h (cherry picked from commit 94a1c853668f30bda46b1cd26d8f30a913a658fe) --- lib/dns/include/dns/fixedname.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/dns/include/dns/fixedname.h b/lib/dns/include/dns/fixedname.h index 50e66e9474..6a9b555105 100644 --- a/lib/dns/include/dns/fixedname.h +++ b/lib/dns/include/dns/fixedname.h @@ -50,6 +50,7 @@ *****/ #include +#include #include @@ -64,6 +65,8 @@ struct dns_fixedname { unsigned char data[DNS_NAME_MAXWIRE]; }; +ISC_LANG_BEGINDECLS + void dns_fixedname_init(dns_fixedname_t *fixed); @@ -76,4 +79,6 @@ dns_fixedname_name(dns_fixedname_t *fixed); dns_name_t * dns_fixedname_initname(dns_fixedname_t *fixed); +ISC_LANG_ENDDECLS + #endif /* DNS_FIXEDNAME_H */