ced3b3
From 395d6fca2638129e1cc1f55ee4b3aa0dbba44dc0 Mon Sep 17 00:00:00 2001
ced3b3
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
ced3b3
Date: Mon, 16 Jan 2023 11:45:31 +0100
ced3b3
Subject: [PATCH] Include isc_rwlocktype_t type definition in zt.h
ced3b3
ced3b3
After changes zt.h uses rwlock type, which is not enforced to be always
ced3b3
defined. Ensure full type definition is ready by including appropriate
ced3b3
header.
ced3b3
---
ced3b3
 lib/dns/include/dns/zt.h | 1 +
ced3b3
 1 file changed, 1 insertion(+)
ced3b3
ced3b3
diff --git a/lib/dns/include/dns/zt.h b/lib/dns/include/dns/zt.h
ced3b3
index 077b26ddea..037d0a9495 100644
ced3b3
--- a/lib/dns/include/dns/zt.h
ced3b3
+++ b/lib/dns/include/dns/zt.h
ced3b3
@@ -18,6 +18,7 @@
ced3b3
 #include <stdbool.h>
ced3b3
 
ced3b3
 #include <isc/lang.h>
ced3b3
+#include <isc/rwlock.h>
ced3b3
 
ced3b3
 #include <dns/types.h>
ced3b3
 
ced3b3
-- 
ced3b3
2.39.0
ced3b3