]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix ISC_REFCOUNT_TRACE_IMPL usage
authorAram Sargsyan <aram@isc.org>
Thu, 9 Mar 2023 21:38:04 +0000 (21:38 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 9 Mar 2023 21:38:04 +0000 (21:38 +0000)
ISC_REFCOUNT_TRACE_IMPL uses isc_tid(), but the corresponding header
file is not included, which breaks, for example, compiling BIND with
DNS_CATZ_TRACE defined in lib/dns/include/dns/catz.h.

Add '#include <isc/tid.h>' in lib/isc/include/isc/refcount.h.

lib/isc/include/isc/refcount.h

index ac2702b88581b563df440c4b5740230cb3159b47..752f3e426f02031db30c4804a53540855a08e4c2 100644 (file)
@@ -20,6 +20,7 @@
 #include <isc/error.h>
 #include <isc/lang.h>
 #include <isc/mutex.h>
+#include <isc/tid.h>
 #include <isc/types.h>
 
 /*! \file isc/refcount.h