From bbbc5af731390c5eea45ef7fad95d3741a28c0dc Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Tue, 11 Nov 2025 13:49:14 +0000 Subject: [PATCH] Fix building on OpenBSD 7.8 with Clang 19.1.7 Add the OpenBSD and Clang combination to the existing kludge to recognize size_t and uintXX_t types as same when using a generic. --- lib/isc/include/isc/bit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/include/isc/bit.h b/lib/isc/include/isc/bit.h index d2cd6d9e71..a8b47e16bc 100644 --- a/lib/isc/include/isc/bit.h +++ b/lib/isc/include/isc/bit.h @@ -107,7 +107,7 @@ isc_rotate_right64(const uint64_t x, uint32_t n) { return (x >> n) | (x << (64 - n)); } -#if __APPLE_CC__ +#if __APPLE_CC__ || (defined(__OpenBSD__) && defined(__clang__)) /* * Apple compiler doesn't recognize size_t and uintXX_t types as same,