From: Aram Sargsyan Date: Tue, 11 Nov 2025 13:49:14 +0000 (+0000) Subject: Fix building on OpenBSD 7.8 with Clang 19.1.7 X-Git-Tag: v9.21.16~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbbc5af731390c5eea45ef7fad95d3741a28c0dc;p=thirdparty%2Fbind9.git 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. --- diff --git a/lib/isc/include/isc/bit.h b/lib/isc/include/isc/bit.h index d2cd6d9e71d..a8b47e16bce 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,