From 4ab6475cdeb290320b371963e98be0927b1e5005 Mon Sep 17 00:00:00 2001 From: Matthew Craven Date: Tue, 8 Aug 2023 09:23:03 -0400 Subject: [PATCH] Use a more specific include than Rts.h The Rts.h include seems to cause build problems. See also: https://gitlab.haskell.org/ghc/ghc/-/issues/23789 https://github.com/haskell/bytestring/issues/606 --- cbits/is-valid-utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbits/is-valid-utf8.c b/cbits/is-valid-utf8.c index 01b3b4133..a2f3f6e44 100644 --- a/cbits/is-valid-utf8.c +++ b/cbits/is-valid-utf8.c @@ -50,7 +50,7 @@ SUCH DAMAGE. #endif #include -#include "Rts.h" +#include "ghcplatform.h" #ifdef WORDS_BIGENDIAN #define to_little_endian(x) __builtin_bswap64(x)